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 21 10 20 21 10 10 10 11 11 10 20 21 20 10 20 21 21 10 20 21 10 10 10 11 11 10 20 21 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... 1 0 ASCII value of the input read. The actual values read for each argument. The number of successful read input values. 1 0 ASCII value of the input read. The actual values read for each argument. The number of successful read input values. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 Compiler Error None of These 10 50 Compiler Error None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() None of these scanf() puts() printf() gets() None of these scanf() puts() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Segmentation fault/runtime crash Compiler time error 10 Undefined behavior Segmentation fault/runtime crash Compiler time error 10 Undefined behavior ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() start() getch() main() printf() system() start() getch() main() printf() ANSWER DOWNLOAD EXAMIANS APP