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); 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. 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); 0123456789 Infinite loop 0 10 Syntax error 0123456789 Infinite loop 0 10 Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of These 5 5 5 5 5 Infinite Loop 5 4 3 2 1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 1 1 1 0 0 0 Error garbage values 1 1 1 0 0 0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 1 0 The number of successful read input values. ASCII value of the input read. The actual values read for each argument. 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); Compilation Error 0 33 1 -1 Compilation Error 0 33 1 -1 ANSWER DOWNLOAD EXAMIANS APP