C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 6 24 12 7 It will not compile because not enough initializers are given 6 24 12 7 It will not compile because not enough initializers are given 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 = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 Garbage Value 1 2 0 3 Garbage Value 1 2 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 Infinite loop None of these 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 Infinite loop None of these 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 infinity loop no output 3 2 1 0 3 2 1 infinity loop no output 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..2 4..4 2..2 2..4 4..2 4..4 2..2 2..4 ANSWER DOWNLOAD EXAMIANS APP