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 does 1f stand for?
Which is better oop or procedural?
What is header file definition?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Why do we use header files in c?
Why void is used in c?
explain how do you use macro?
What is a structural principle?
What is difference between class and structure?
Explain how do you print only part of a string?
The file stdio.h, what does it contain?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is const keyword in c?
List a few unconditional control statement in c.
What are different types of variables in c?