Tuesday, December 2, 2008

What is the output of following programme ?

main()
{
int a=500, b=100, c;
if(!a>=400)
b=300; c=200;
printf("b=%d c=%d", b,c);
}

a. b=300 c=200
b. b=100 c=garbage
c. b=300 c=garbage
d. b=100 c=200

No comments: