C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 5 Garbage Value None of these 0 6 5 Garbage Value None of these 0 6 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));} 12 10 None of these 11 15 12 10 None of these 11 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..0 1..1 0..0 0..1 1..0 1..1 0..0 0..1 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=AMVEDA y=VEDA y=EXAMIANS y=EDA y=MVEDA y=AMVEDA y=VEDA y=EXAMIANS y=EDA y=MVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 50 None of these 15 30 10 50 None of these 15 30 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 444 000 433 333 Garbage Value 444 000 433 333 Garbage Value ANSWER DOWNLOAD EXAMIANS APP