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 / bee
answer is c...
fail1,pass 2
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Are the variables argc and argv are always local to main?
What is the size of array float a(10)?
How do I use void main?
When should structures be passed by values or by references?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
Define the scope of static variables.
What are the advantages of c language?
What is static volatile in c?
How do you define a string?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Why is c so important?
What is a void pointer in c?
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What does c mean before a date?
Write a function that will take in a phone number and output all possible alphabetical combinations