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);} 13, 10, 24, 50 50, 13, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 13 13, 10, 24, 50 50, 13, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 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");} nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello 5 Error hello garbage value None of These hello 5 Error hello garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Garbage Value 5 Compiler Error 6 Garbage Value 5 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 6 None of these Garbage Value 0 5 6 None of these Garbage Value 0 ANSWER DOWNLOAD EXAMIANS APP