C Programming A preprocessor command has # as the first character comes before the first executable statement need not start on the first column need not start on a new line has # as the first character comes before the first executable statement need not start on the first column need not start on a new line ANSWER DOWNLOAD EXAMIANS APP
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 7 It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given 12 24 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good Good Morning M None of these Morning Good Good Morning M None of these Morning 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 ? 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); rem = 3.14 % 2.1; rem = modf(3.14, 2.1); 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);} 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator from the following has the lowest priority? Comma operator Division operator Unary-operator Conditional operator Assignment operator Comma operator Division operator Unary-operator Conditional operator Assignment operator ANSWER DOWNLOAD EXAMIANS APP