Sail E0 Webinar
Question

What will be the output of the following program :
#include<stdio.h>
main()
{
int a=555,*ptr=&a,b=*ptr;
printf("%d %d %d",a,--*&b,*ptr++);
}
Options:
A .  Compile Error
B .  555 554 555
C .  556 554 555
D .  557 554 555
Answer: Option B



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