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? Runtime error Syntax error 6 No output 8 Runtime error Syntax error 6 No output 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 11 10 None of These 9 11 10 None of These 9 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=AMVEDA y=MVEDA y=VEDA y=EXAMIANS y=EDA y=AMVEDA y=MVEDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 450 110 -110 -10 10 450 110 -110 -10 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); Infinite loop 10 11 12 13 14 None of these 9 10 11 12 13 10 11 12 13 14 15 Infinite loop 10 11 12 13 14 None of these 9 10 11 12 13 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. Function is a block of code that performs a specific task. It has a name and it is reusable. All of these Function is the fundamental modular unit. A function is usually designed to perform a specific task. Function is a block of statements that perform some specific task. ANSWER DOWNLOAD EXAMIANS APP