engineering notes question papers answers lab works 2 marks and 16 marks questions for all the departments can be found here
*rar files will have the password as engineerportal.blogspot.in
Friday, February 15, 2013
Predict the output or error(s) for the following
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
No comments:
Post a Comment