Predict the output or error(s) for the following Posted by Unknown on February 15, 2013 Get link Facebook X Pinterest Email Other Apps Predict the output or error(s) for the following #define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); } Answer: sizeof(i)=1 Explanation: Since the #define replaces the string int by the macro char Comments
Comments
Post a Comment