when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none
Answer Posted / singh
if block will be evaluated as true only if x=1.
because for first comparision x==x it returns 1.
then it again compares with x==x ie,x==1.
-it will return true only if x=1;
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is the difference between fread and fwrite function?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
What is variables in c?
What are unions in c?
What is output redirection?
Explain the array representation of a binary tree in C.
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
What is function definition in c?
what is the c source code for the below output? 5555555555 4444 4444 333 333 22 22 1 1 22 22 333 333 4444 4444 5555555555
What are header files? What are their uses?
What is the difference between #include and #include 'file' ?
How do I swap bytes?
Tell me with an example the self-referential structure?
Explain what is a const pointer?
can any one provide me the notes of data structure for ignou cs-62 paper