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; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; Remainder cannot be obtain in floating point division. rem = modf(3.14, 2.1); rem = fmod(3.14, 2.1); ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 10, 10 0x1234ABCD, 0x1234ABCD, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD Runtime error 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ int long char float short int long char float short ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 6 11 5 10 9 6 11 5 10 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? strchr() None of these strstr() strnset() strrchr() strchr() None of these strstr() strnset() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 1 3 0 2 1 3 0 ANSWER DOWNLOAD EXAMIANS APP