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
Explain how can you check to see whether a symbol is defined?
Can we change the value of static variable in c?
What is the use of a semicolon (;) at the end of every program statement?
What is the difference between text files and binary files?
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
I need previous papers of CSC.......plz help out by posting them.......
How can I generate floating-point random numbers?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is the use of gets and puts?
Are the variables argc and argv are local to main?
What is the main difference between calloc () and malloc ()?
What is the newline escape sequence?
can anyone suggest some site name..where i can get some good data structure puzzles???
What is a void pointer? When is a void pointer used?
What is p in text message?