Click here to Skip to main content
11,923,517 members (70,742 online)
Click here to Skip to main content


213 bookmarked

How to interpret complex C/C++ declarations

, 3 Jul 2004 CPOL
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.




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


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....

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.151125.3 | Last Updated 4 Jul 2004
Article Copyright 2004 by Vikram A Punathambekar
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid