Click here to Skip to main content
13,633,051 members
Click here to Skip to main content


219 bookmarked
Posted 13 May 2004
Licenced CPOL

How to interpret complex C/C++ declarations

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.



Compare Revision Minor Date Status Editor
2 - publicly available No 3-Jul-04 18:00 Available Member 20248
1 No 3-Jul-04 18:00 Composing Member 20248


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

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web01-2016 | 2.8.180712.1 | Last Updated 4 Jul 2004
Article Copyright 2004 by Vikram A Punathambekar
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid