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,*ptr);
}
Options:
A .  1234 1234
B .  1235 1235
C .  1234 1235
D .  1235 1234
Answer: Option D



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