C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value 0 0 Code will not compile Garbage value 0 Garbage vlaue Garbage Value 0 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 2 1 1 2 3 None of these 1 1 2 2 0 1 2 3 0 1 2 2 1 1 2 3 None of these 1 1 2 2 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as Data processing language System programming language None of these General purpose language Data processing language System programming language None of these General purpose language 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=EXAMIANS y=EDA y=MVEDA y=AMVEDA y=VEDA y=EXAMIANS y=EDA y=MVEDA y=AMVEDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} None of These Garbage Value 0 2 None of These Garbage Value 0 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 Infinite loop 0 Syntax error 10 0123456789 Infinite loop 0 Syntax error 10 ANSWER DOWNLOAD EXAMIANS APP