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 10 11 11 10 20 21 10 10 20 21 20 10 20 21 21 10 10 11 11 10 20 21 10 10 20 21 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? _examians exam_veda 1examians examians1 _examians exam_veda 1examians examians1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 216 215 215 – 1 None of these 216 – 1 216 215 215 – 1 None of these 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();} Compilation Error None of these 5 4 3 2 1 5 5 5 5 5 Infinite Loop Compilation Error None of these 5 4 3 2 1 5 5 5 5 5 Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H None of these. Some address will be printed Hello H None of these. Some address will be printed Hello ANSWER DOWNLOAD EXAMIANS APP