C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 53 65 65 65 065 65 Syntax error 053 65 53 65 65 65 065 65 Syntax error 053 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; 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 What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=5 Error x=4 x=0 x=1 x=5 Error x=4 x=0 x=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Functions have .......... File scope Local scope Block scope Function scope No scope at all File scope Local scope Block scope Function scope No scope at all ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 5 0 20 100 0 100 100 5 100 100 100 100 5 0 100 5 0 20 100 0 100 100 5 100 100 100 100 5 0 100 ANSWER DOWNLOAD EXAMIANS APP