C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 216 – 1 216 None of these 215 215 – 1 216 – 1 216 None of these 215 215 – 1 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 = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = 3.14 % 2.1; rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 4, c = 6 b = 3, c = 6 a = 4, c = 8 a = 3, c = 8 a = 4, c = 6 b = 4, c = 6 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 Compiler Error 10 None of These 50 Compiler Error 10 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following pointer declaration?int *ptr, p; ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ptr is a pointer to integer, p is not. ptr is pointer to integer, p may or may not be. ptr and p both are not pointers to integer. ptr and p, both are pointers to integer. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 10 0123456789 Syntax error Infinite loop 0 10 0123456789 Syntax error Infinite loop 0 ANSWER DOWNLOAD EXAMIANS APP