C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. There will be a compilation error reported. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. The program will not enter into the loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } None of These 4 16 64 None of These 4 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} c Error A 65 c Error A 65 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 5 4 3 2 1 Infinite Loop None of these 5 5 5 5 5 Compilation Error 5 4 3 2 1 Infinite Loop None of these 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 Depends on the Compiler Linker Error : Undefined symbol 'i' ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Execution During linking None of these During Preprocessing During Editing During Execution During linking None of these During Preprocessing During Editing ANSWER DOWNLOAD EXAMIANS APP