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 / nageswari

none

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can you check to see whether a symbol is defined?

667


Can we change the value of static variable in c?

568


What is the use of a semicolon (;) at the end of every program statement?

784


What is the difference between text files and binary files?

682


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3850






I need previous papers of CSC.......plz help out by posting them.......

1825


How can I generate floating-point random numbers?

613


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

622


What is the use of gets and puts?

610


Are the variables argc and argv are local to main?

796


What is the main difference between calloc () and malloc ()?

580


What is the newline escape sequence?

595


can anyone suggest some site name..where i can get some good data structure puzzles???

1653


What is a void pointer? When is a void pointer used?

636


What is p in text message?

546