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 / jack
c) Fail1,Pass2..........
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is string length in c?
What are void pointers in c?
Explain how do you determine whether to use a stream function or a low-level function?
What is class and object in c?
What is identifiers in c with examples?
Write a program to print all permutations of a given string.
What are near, far and huge pointers?
What is a floating point in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Is main is a keyword in c?
All technical questions
How can I read and write comma-delimited text?
What is extern storage class in c?
What is null pointer constant?
What is assignment operator?