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
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
what is use of malloc and calloc?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
Explain how do I determine whether a character is numeric, alphabetic, and so on?
Why isn't any of this standardized in c? Any real program has to do some of these things.
Should a function contain a return statement if it does not return a value?
how to execute a program using if else condition and the output should enter number and the number is odd only...
Can you pass an entire structure to functions?
What is the difference between āgā and āgā in C?
With the help of using classes, write a program to add two numbers.
what does static variable mean?
pierrot's divisor program using c or c++ code
What are global variables?
What are categories used for in c?
What are types of preprocessor in c?