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); 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. rem = 3.14 % 2.1; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..0 1..1 0..1 0..0 1..0 1..1 0..1 0..0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 None of these. 0.000000 Error 10 None of these. 0.000000 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmmm nnnn aaaa mmm nnn aaa Compiler Error None of These mmmm nnnn aaaa mmm nnn aaa Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ float me = 1.1; double you = 1.1; if(me==you) printf("I hate Examveda"); else printf("I love Examveda");} I hate Examians I love Examians None of These Error I hate Examians I love Examians None of These Error 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 = 6 b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 a = 4, c = 6 b = 4, c = 6 a = 4, c = 8 b = 3, c = 6 a = 3, c = 8 ANSWER DOWNLOAD EXAMIANS APP