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


Please Help Members By Posting Answers For Below Questions

Explain indirection?

637


Can a file other than a .h file be included with #include?

677


Write a program to reverse a given number in c language?

610


What is the best style for code layout in c?

625


What is putchar() function?

627






By using C language input a date into it and if it is right?

565


List some of the dynamic data structures in C?

780


How to write c functions that modify head pointer of a linked list?

538


How is pointer initialized in c?

577


Can variables be declared anywhere in c?

612


What is a void * in c?

589


What is the right way to use errno?

613


What is a pointer on a pointer in c programming language?

611


What is operator promotion?

620


What is the general form of function in c?

607