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
Explain how can you tell whether a program was compiled using c versus c++?
Subtract Two Number Without Using Subtraction Operator
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What are the modifiers available in c programming language?
What are pointers? What are different types of pointers?
Why does not c have an exponentiation operator?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What extern c means?
Explain what are reserved words?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is the time and space complexities of merge sort and when is it preferred over quick sort?
What is the use of #include in c?
Explain how can you restore a redirected standard stream?
What is the difference between array and pointer in c?
Can a pointer be null?