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
What is a pointer in c plus plus?
What is string constants?
List some of the dynamic data structures in C?
Can a variable be both constant and volatile?
What is the size of enum in bytes?
What is the best organizational structure?
c language interview questions & answer
Can a pointer point to null?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
write a program to find out prime number using sieve case?
Is exit(status) truly equivalent to returning the same status from main?
Explain About fork()?
Explain the ternary tree?
Why is C language being considered a middle level language?
What is c++ used for today?