C Programming What will be the output of the given program?#includevoid main(){ int i=10; printf("i=%d", i); { int i=20; printf("i=%d", i); i++; printf("i=%d", i); } printf("i=%d", i);} 10 20 21 10 10 20 21 21 10 20 21 20 10 10 11 11 10 20 21 10 10 20 21 21 10 20 21 20 10 10 11 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Will make an infinite loop. Some address will be printed. Error None of these. Will make an infinite loop. Some address will be printed. Error None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. 0 The number of successful read input values. 1 ASCII value of the input read. The actual values read for each argument. ANSWER DOWNLOAD EXAMIANS APP
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 0 infinity loop 3 2 1 no output 3 2 1 0 infinity loop 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE NOITANIMAXE C C No output at all. Syntax error NOITANIMAXE NOITANIMAXE C C No output at all. Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 Error garbage values ANSWER DOWNLOAD EXAMIANS APP