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 / bee

answer is c...
fail1,pass 2

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

697


what is use of malloc and calloc?

1379


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

654


Explain how do I determine whether a character is numeric, alphabetic, and so on?

648


Why isn't any of this standardized in c? Any real program has to do some of these things.

621






Should a function contain a return statement if it does not return a value?

592


how to execute a program using if else condition and the output should enter number and the number is odd only...

1652


Can you pass an entire structure to functions?

689


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2502


With the help of using classes, write a program to add two numbers.

615


what does static variable mean?

647


pierrot's divisor program using c or c++ code

1724


What are global variables?

640


What are categories used for in c?

560


What are types of preprocessor in c?

613