What is the result
main()
{
char c=-64;
int i=-32
unsigned int u =-16;
if(c>i){
printf("pass1,");
if(c<u)
printf("pass2");
else
printf("Fail2");}
else
printf("Fail1);
if(i<u)
printf("pass2");
else
printf("Fail2")
}
a)Pass1,Pass2
b)Pass1,Fail2
c)Fail1,Pass2
d)Fail1,Fail2
e)none
Answer Posted / karthika
pass1 fail2
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
What is c language in simple words?
What are pointers?
How many levels of pointers can you have?
Which node is more powerful and can handle local information processing or graphics processing?
Is there anything like an ifdef for typedefs?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
how to construct a simulator keeping the logical boolean gates in c
Why array is used in c?
c language interview questions & answer
What are the similarities between c and c++?
What is the time and space complexities of merge sort and when is it preferred over quick sort?
Explain c preprocessor?
What is the stack in c?
What is the collection of communication lines and routers called?
Explain what is wrong with this statement? Myname = ?robin?;