C Programming Which is the only function all C programs must contain? getch() system() printf() start() main() getch() system() printf() start() main() ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 2 8 50 Theoratically no limit. The only practical limits are memory size and compilers. 20 2 8 50 Theoratically no limit. The only practical limits are memory size and compilers. 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=VEDA y=EDA y=MVEDA y=EXAMIANS y=AMVEDA y=VEDA y=EDA y=MVEDA y=EXAMIANS y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 20 20 10 10 Run time error 10 20 20 20 10 10 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 100 Error 1 100 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} RED WHITE BLUE ERROR RED ERROR RED ERROR RED WHITE BLUE RED WHITE BLUE ERROR RED ERROR RED ERROR RED WHITE BLUE ANSWER DOWNLOAD EXAMIANS APP