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
Differentiate between functions getch() and getche().
What is %g in c?
What is the value of c?
What do you mean by dynamic memory allocation in c? What functions are used?
Explain what is the difference between far and near ?
p*=(++q)++*--p when p=q=1 while(q<=6)
Explain the Difference between the New and Malloc keyword.
What is a global variable in c?
What are the different types of constants?
Can the size of an array be declared at runtime?
Where are some collections of useful code fragments and examples?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
Differentiate between static and dynamic modeling.
Explain what is meant by high-order and low-order bytes?
How to compare array with pointer in c?