C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 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 II and III I, II and III III and IV I, III and IV I and II II and III I, II and III III and IV I, III and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 10 4 5 6 7 8 9 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 10 4 5 6 7 8 9 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} None of these. 10 0.000000 Error None of these. 10 0.000000 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 6 5 4 Error 6 5 4 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 20 16 19 17 -1 20 16 19 17 -1 ANSWER DOWNLOAD EXAMIANS APP