info about give program below

Status
Not open for further replies.
the output should be
8 1 8 8
Code:
printf("%d\t",a=b);
assigns a the value of b, the result of the expression 8 is printed
Code:
printf("%d\t",a==b);
compares a with b and as both values are 8 the result is 1 (true)
Code:
printf("%d 	%d\n",a,b);
prints a and b both have the value 8
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…