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? 6 Runtime error 8 No output Syntax error 6 Runtime error 8 No output Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 7 None of these 3 8 8 3 7 3 3 7 None of these 3 8 8 3 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 3, c = 6 b = 4, c = 6 a = 4, c = 8 a = 3, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 9 11 None of these. 10 9 11 None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } None of these void funct(x) { printf(“Hello"); } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP