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 an identifier?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is hashing in c language?
Differentiate between a for loop and a while loop? What are it uses?
State two uses of pointers in C?
What does c in a circle mean?
What is a program flowchart and how does it help in writing a program?
Explain the advantages and disadvantages of macros.
How is pointer initialized in c?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
What are structural members?
What are the differences between Structures and Arrays?
Write a program which returns the first non repetitive character in the string?
What does void main return?