C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 19 -1 16 20 17 19 -1 16 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0123456789 0 10 Infinite loop Syntax error 0123456789 0 10 Infinite loop Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 1 10 0 14 1 10 0 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include#define clrscr() 100void main(){ clrscr(); printf("%dn", clrscr());} Error 100 1 0 Error 100 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=5 c=3 d=5 c=5 d=3 c=3 d=3 c=5 d=5 c=3 d=5 c=5 d=3 c=3 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? -1 1 Program do no return a value. 2 -1 1 Program do no return a value. 2 ANSWER DOWNLOAD EXAMIANS APP