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 / divyesh
Fail1, Pass2
| Is This Answer Correct ? | 23 Yes | 2 No |
Post New Answer View All Answers
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
What are identifiers in c?
How can I copy just a portion of a string?
What is the best way to comment out a section of code that contains comments?
What is the difference between class and object in c?
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
What is NULL pointer?
Tell me what are bitwise shift operators?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
How can I run c program?
State the difference between realloc and free.
What does %c mean in c?
What is struct node in c?
Is array a primitive data type in c?
Describe the order of precedence with regards to operators in C.