x=2,y=6,z=6
x=y==z;
printf(%d",x)
Answer Posted / amit
since "=" has a low precedence over "==" .. thus "y==z" will
be evaluated first and the returned value will be stored in
x which will be printed subsequently...
In this case since y equals z, x = 1 will be printed
cheers
AD
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is the use of extern in c?
Define macros.
What is difference between function overloading and operator overloading?
What are dangling pointers? How are dangling pointers different from memory leaks?
In a switch statement, what will happen if a break statement is omitted?
Can one function call another?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
Why do we use & in c?
What are the rules for identifiers in c?
What is getch?
How can I read in an object file and jump to locations in it?
What is I ++ in c programming?
List the difference between a "copy constructor" and a "assignment operator"?
What is the difference between abs() and fabs() functions?
What does calloc stand for?