C Programming The type of the controlling expression of a switch statement cannot be of the type ........ int char long float short int char long float short ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} arr{6} arr[6] None of these arr[7] arr{7} arr{6} arr[6] None of these arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 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 = 3.14 % 2.1; rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these 9 10 11 12 13 10 11 12 13 14 10 11 12 13 14 15 Infinite loop None of these 9 10 11 12 13 10 11 12 13 14 10 11 12 13 14 15 Infinite loop 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);} 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 ANSWER DOWNLOAD EXAMIANS APP