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[1] = 3 Compilation error a[0] = 3 a[1] = 2 a[0] = 2 a[1] = 3 Compilation error a[0] = 3 a[1] = 2 a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD Compiler Error None of These GOOD BAD GOOD Compiler Error None of These GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); Garbage Value 14 15 12 13 Garbage Value 14 15 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of A compiler An Editor An operating system None of these. A compiler An Editor An operating system None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } int funct(); void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error 2 Linker Error 20 Compiler Error 2 Linker Error 20 ANSWER DOWNLOAD EXAMIANS APP