when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none
Answer Posted / vikram
if x=1,then x==x evaluates to 1;
again,1==x evaluates to 1 only if x=1,
if(1) means condition becomes true and the if block will be
executed,
thnx
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Explain indirection?
Can a file other than a .h file be included with #include?
Write a program to reverse a given number in c language?
What is the best style for code layout in c?
What is putchar() function?
By using C language input a date into it and if it is right?
List some of the dynamic data structures in C?
How to write c functions that modify head pointer of a linked list?
How is pointer initialized in c?
Can variables be declared anywhere in c?
What is a void * in c?
What is the right way to use errno?
What is a pointer on a pointer in c programming language?
What is operator promotion?
What is the general form of function in c?