Thursday, September 18, 2008

What is the output of following programme ?

main( )
{
int a=30, b=40, x;
x=(a!=10) && (b=50);
printf(“x= %d”,x);
}

a. 10
b. 50
c. 1
d. 0

No comments: