I was going through a few C quizzes and was quite baffled by the amount of questions i could answer correctly. Never thought C was such a confusing language !
Well, anyway... here are some doubts i've had..
1. Can a pointer be typecasted ? Why or why not ?
2. I've heard that pointer can hold the address of a function. What does that mean ? Where is a function stored ?
3. What does #define f(g,g2) g##g2 mean ?
Output of this program ?
int i= 5;
printf("%d",i++ + ++i)
Answer : cannot be predicted.
Output of this ?
printf("%d %d %d %d %d",i++,i--,++i,--i,i);