www.thecareerplus.com
The CareerPlus
Home Technical Resources Programming Expressions
Wednesday 08th September 2010
 
 
Whats wrong with #define myptr int *?

Discuss it!          


#define myptr int *
myptr p, q;


Only p will be a pointer to an int, and q will just be an int!.

Use typdef for such a requirement. 




Discuss it!          

CrackTheIntervew.NET
Advertisement
 
Top! Top!