Sail E0 Webinar
Question

What will be the output of the following program :
#include<stdio.h>
main()
{
int val=1234;
int* ptr=&val;
printf("%d %d",++val,(*(int *)ptr)--);
}
Options:
A .  1234 1233
B .  1235 1234
C .  1234 1234
D .  None of these
Answer: Option C




Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers