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

Differentiate between functions getch() and getche().

610


What is %g in c?

606


What is the value of c?

562


What do you mean by dynamic memory allocation in c? What functions are used?

638


Explain what is the difference between far and near ?

639






p*=(++q)++*--p when p=q=1 while(q<=6)

1261


Explain the Difference between the New and Malloc keyword.

674


What is a global variable in c?

582


What are the different types of constants?

631


Can the size of an array be declared at runtime?

595


Where are some collections of useful code fragments and examples?

702


List the difference between a 'copy constructor' and a 'assignment operator' in C?

629


Differentiate between static and dynamic modeling.

605


Explain what is meant by high-order and low-order bytes?

625


How to compare array with pointer in c?

610