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 / divyesh
Fail1, Pass2
Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
What are the back slash character constants or escape sequence charactersavailable in c?
What are the two forms of #include directive?
Is boolean a datatype in c?
Write a program to reverse a string.
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
What are the string functions? List some string functions available in c.
Is fortran faster than c?
Why can’t we compare structures?
Does c have function or method?
What is a sequential access file?
What is c preprocessor mean?
find the sum of two matrices and WAP for it.
Why does the call char scanf work?
What is character constants?
write a program to rearrange the array such way that all even elements should come first and next come odd