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)++;} a[0] = 3 Compilation error a[1] = 2 a[1] = 3 a[0] = 2 a[0] = 3 Compilation error a[1] = 2 a[1] = 3 a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); Infinite loop None of these 10 11 12 13 14 15 10 11 12 13 14 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 15 10 11 12 13 14 9 10 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 2 2 1 1 1 1 2 2 2 2 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } Syntax error Runtime error 1 2 3 4 4 5 6 7 4 Syntax error Runtime error 1 2 3 4 4 5 6 7 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of A compiler An operating system An Editor None of these. A compiler An operating system An Editor None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} 2 Error 1 -2 2 Error 1 -2 ANSWER DOWNLOAD EXAMIANS APP