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. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? continue None of these break skip resume continue None of these break skip resume ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code fragment?void main(){ printf("%x",-1<<4);} fff1 fff2 fff0 fff3 fff4 fff1 fff2 fff0 fff3 fff4 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error Runtime error 10012 100 g##g2 Syntax error Runtime error 10012 100 g##g2 ANSWER DOWNLOAD EXAMIANS APP