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
What is the description for syntax errors?
What is a program?
Explain what are the different file extensions involved when programming in c?
What are the types of pointers?
how to count no of words,characters,lines in a paragraph.
What is NULL pointer?
how many errors in c explain deply
Can you write the algorithm for Queue?
How was c created?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
how logic is used
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is the most efficient way to store flag values?
Explain that why C is procedural?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }