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);} C Syntax error NOITANIMAXE No output at all. NOITANIMAXE C C Syntax error NOITANIMAXE No output at all. NOITANIMAXE C ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ printf("%p", main);} make an infinite loop None of These Error Some address will be printed make an infinite loop None of These Error Some address will be printed ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=MVEDA y=EXAMIANS y=EDA y=VEDA y=AMVEDA y=MVEDA y=EXAMIANS y=EDA y=VEDA y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value 10 None of These 1 Garbage Value 10 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 Garbage Value 0 3 1 2 Garbage Value 0 3 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} None of These 13 11 12 None of These 13 11 12 ANSWER DOWNLOAD EXAMIANS APP