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 ?
4.Why ?Code:Output of this program ? int i= 5; printf("%d",i++ + ++i) Answer : cannot be predicted.
5.Code:Output of this ? int i=5; printf("%d %d %d %d %d",i++,i--,++i,--i,i);