C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 1 -2 Error 2 1 -2 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler p q nullp nullq x nullq where x can be p or nullp depending on the value of NULL Depends on the compiler p q nullp nullq ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} N M None of These P N M None of These P ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 0.000000 Error None of these. 10 0.000000 Error None of these. 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} H Some Address will be printed None of These Hello H Some Address will be printed None of These Hello ANSWER DOWNLOAD EXAMIANS APP