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);} 5 5.600000 Complier error 6 5.600000 0 5.600000 5 5.600000 Complier error 6 5.600000 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Need not contain any function. None of these Must contain at least one function. Needs input data. Need not contain any function. None of these Must contain at least one function. Needs input data. ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. II, III and IV I, II and III I, II, III and IV I and II II and III II, III and IV I, II and III I, II, III and IV I and II II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 20 20 10 10 Run time error 10 20 20 20 10 10 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} 065 65 65 65 Syntax error 053 65 53 65 065 65 65 65 Syntax error 053 65 53 65 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} 4 None of These 16 64 4 None of These 16 64 ANSWER DOWNLOAD EXAMIANS APP