when will be evaluated as true/
if(x==x==x)
a) x=1;
b) x=0;
c) x=-1;
d) none
Answer Posted / naveen
o/p is x=0;
as x==x it will give 1 as result;
then again x==1;
so it will be false if x!=1i.e it will be true for only if
x value is 1.
i.e x=1 only if xis 1 other wise it is 0
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
Can a variable be both const and volatile?
What extern c means?
What are header files and what are its uses in C programming?
What is the process to generate random numbers in c programming language?
Explain how do you print an address?
Are the expressions * ptr ++ and ++ * ptr same?
What are the characteristics of arrays in c?
Explain why C language is procedural?
please help me..... please codes and flowchart plz turbo c lang po yan.....please asap response... 3. Make an astrology program. The user types in his or her birthday (month, day, and year as integer), and the program responds with the user’s zodiac sign, horoscope, and other information related to it. If the user’s birth year falls into a leap year, your program should display an appropriate message for it. NOTES: Conditional Statements: it should be with graphics
what do you mean by enumeration constant?
What is the general form of function in c?
Write program to remove duplicate in an array?
Write a program that accept anumber in words
What is wild pointer in c?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }