C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 Garbage Value 1 0 3 2 Garbage Value 1 0 3 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)); } Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 Runtime error 1 2 3 4 Syntax error 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C C No output at all. Syntax error NOITANIMAXE NOITANIMAXE C C No output at all. Syntax error NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 11 12 None of these 10 15 11 12 None of these 10 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a reserved keyword for C? default main register case auto default main register case auto ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? Program do no return a value. -1 1 2 Program do no return a value. -1 1 2 ANSWER DOWNLOAD EXAMIANS APP