int a;
printf("%d",sizeof a);// fine
printf("%d",sizeof int);// giving parse error here
can any one help me in this regard.
Gaiety
1
Junior Poster
Recommended Answers
Jump to PostWhen using the sizeof operator with a type name, it must be enclosed within parentheses.
All 4 Replies
yellowSnow
607
Posting Whiz in Training
Gaiety
1
Junior Poster
Tom Gunn
1,164
Practically a Master Poster
kvprajapati
1,826
Posting Genius
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.