AmbitionBox

Discover Best Places to work in India

C Programming

C Programming Questions and Answers

Showing 11 - 11 of 11 questions

11

What will be the output of the following program :

#include<stdio.h>
main()
{
	int a=555,*ptr=&a,b=*ptr=777;
	printf("%d %d",--*&b,*(int *)&b);
}

a

Compile Error

b

776 777

c

554 555

d

None of these

correct answer b

Answer : Option B

Select a company to compare with

vs

Similar Companies