Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version
Go to top

How to interpret complex C/C++ declarations

, 3 Jul 2004
Ever came across a declaration like int * (* (*fp1) (int) ) [10]; or something similar that you couldn't fathom? This article will teach you to interpret such complex C/C++ declarations, including the use of typedef, const, and function pointers.

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 4-Jul-04 0:00 Available Nish Sivakumar
1 No 4-Jul-04 0:00 Composing Nish Sivakumar

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Vikram A Punathambekar
Business Analyst
India India
Vikram is a 20-something bloke working in Madras (aka Chennai), India. Vikram was born in Madras, brought up in Coimbatore, and is now back in Madras. He loves listening to music, reading and watching cricket. He hates cats.
 
Vikram joined CP way back in 2002 when he was in college and had papers on Windows programming. In his past lives, he languished around, roaming the wilderness of Solaris, eventually moving on to writing software for managing ATMs in .NET. He now works as a Business Analyst who dabbles in SQL for an investment bank, working with applications for structured products.
 
He "loves everyone" for whatever that is worth. And he rather makes a big deal out of the fact that he's ambidextrous....

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 4 Jul 2004
Article Copyright 2004 by Vikram A Punathambekar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid