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 and II II and III I, II and III I, III and IV III and IV I and II II and III I, II and III I, III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} -1 1 -1 -1 1 -1 1 1 complier error -1 1 -1 -1 1 -1 1 1 complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 5 5 5 5 Compilation Error None of these 5 4 3 2 1 Infinite Loop 5 5 5 5 5 Compilation Error None of these 5 4 3 2 1 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 None of these 10 11 12 13 14 15 10 11 12 13 14 9 10 11 12 13 Infinite loop None of these 10 11 12 13 14 15 10 11 12 13 14 9 10 11 12 13 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 );} A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 None of These 11 10 9 None of These 11 10 ANSWER DOWNLOAD EXAMIANS APP