C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 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=EXAMIANS y=MVEDA y=VEDA y=AMVEDA y=EDA y=EXAMIANS y=MVEDA y=VEDA y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} None of These 0 0 0 0 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 5 4 3 2 1 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32767 to 32768 -32768 to 32767 -3.4e38 to 3.4e38 -32668 to 32667 -32767 to 32768 -32768 to 32767 -3.4e38 to 3.4e38 -32668 to 32667 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{6} arr{7} arr[7] arr[6] None of these arr{6} arr{7} arr[7] arr[6] None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. Prints the value of 0 one time only. The loop will run infinitely many times. ANSWER DOWNLOAD EXAMIANS APP