C Programming Which of the following function is more appropriate for reading in a multi-word string? None of these scanf() printf() gets() puts() None of these scanf() printf() gets() puts() ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 9 8 6 5 7 9 8 6 5 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right II and III I and III II and IV III and IV I and II II and III I and III II and IV III and IV I and II 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); rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); Remainder cannot be obtain in floating point division. ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is illegal None of these. is syntactically and semantically correct is legal but meaningless is illegal None of these. is syntactically and semantically correct is legal but meaningless ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 216 215 – 1 215 None of these 216 – 1 216 215 – 1 215 None of these ANSWER DOWNLOAD EXAMIANS APP