C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Infinite loop 0 10 Syntax error 0123456789 Infinite loop 0 10 Syntax error 0123456789 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? None of these arr{7} arr[7] arr[6] arr{6} None of these arr{7} arr[7] arr[6] arr{6} 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 x=4 Error x=1 x=0 x=5 x=4 Error x=1 x=0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 III and IV I, III and IV II and III I, II and III I and II III and IV I, III and IV II and III I, II and III I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? float Depends upon the type of the variable to which it is pointing. int No data type unsigned int float Depends upon the type of the variable to which it is pointing. int No data type unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the best answer.Prior to using a pointer variable None of these. It should be declared. It should be both declared and initialized. It should be initialized. None of these. It should be declared. It should be both declared and initialized. It should be initialized. ANSWER DOWNLOAD EXAMIANS APP