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);} 6 5.600000 5 5.600000 0 5.600000 Complier error 6 5.600000 5 5.600000 0 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming Size of the array need not be specified, when All of these It is a formal parameter Initialization is a part of definition It is a declaratrion All of these It is a formal parameter Initialization is a part of definition It is a declaratrion ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 215 – 1 216 – 1 216 215 None of these 215 – 1 216 – 1 216 215 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} 15 10 None of these 11 12 15 10 None of these 11 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 3 2 1 no output infinity loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable k can’t be initialized. The commas should be semicolons. The increment should always be ++k . The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The commas should be semicolons. The increment should always be ++k . The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. ANSWER DOWNLOAD EXAMIANS APP