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


Please Help Members By Posting Answers For Below Questions

What are the back slash character constants or escape sequence charactersavailable in c?

686


What are the two forms of #include directive?

644


Is boolean a datatype in c?

547


Write a program to reverse a string.

642


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3734






What are the string functions? List some string functions available in c.

605


Is fortran faster than c?

585


Why can’t we compare structures?

814


Does c have function or method?

591


What is a sequential access file?

648


What is c preprocessor mean?

795


find the sum of two matrices and WAP for it.

634


Why does the call char scanf work?

620


What is character constants?

715


write a program to rearrange the array such way that all even elements should come first and next come odd

1764