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


Please Help Members By Posting Answers For Below Questions

What is an identifier?

688


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

903


What is hashing in c language?

698


Differentiate between a for loop and a while loop? What are it uses?

745


State two uses of pointers in C?

702






What does c in a circle mean?

640


What is a program flowchart and how does it help in writing a program?

745


Explain the advantages and disadvantages of macros.

690


How is pointer initialized in c?

653


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

15697


Which header file should you include if you are to develop a function which can accept variable number of arguments?

886


What are structural members?

643


What are the differences between Structures and Arrays?

687


Write a program which returns the first non repetitive character in the string?

662


What does void main return?

685