C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A 65 c Error A 65 c Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 i = -1, +i = 1 None of These i = -1, +i = -1 i = 1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2 2 2 2 2 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[0] = 3 a[1] = 3 a[0] = 2 a[1] = 2 Compilation error a[0] = 3 a[1] = 3 a[0] = 2 a[1] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? Runtime error No output 8 6 Syntax error Runtime error No output 8 6 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? case default register auto main case default register auto main ANSWER DOWNLOAD EXAMIANS APP