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]);} 6 0 Garbage Value 5 None of these 6 0 Garbage Value 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These mmm nnn aaa Compiler Error mmmm nnnn aaaa None of These ANSWER DOWNLOAD EXAMIANS APP
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? 8 6 No output Syntax error Runtime error 8 6 No output Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 3 2 0 1 3 2 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 30 20 None of these 25 24 30 20 None of these 25 24 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=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA y=EDA y=VEDA y=EXAMIANS y=MVEDA y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP