Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; rem = modf(3.14, 2.1); TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 Infinite Loop None of These 0 0 0 0 TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program. void main() { int i=01289; printf("%d", i); } Syntax error 1289 0713 0289 713 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:#define square(x) x*xvoid main(){ int i; i = 64/square(4); printf("%d", i);} None of These 64 4 16 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program code?#include <stdio.h>void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 433 Garbage Value 333 444 000 TRUE ANSWER : ? YOUR ANSWER : ?
The recursive functions are executed in a ........... Parallel order First In First Out order Iterative order Last In First Out order Random order TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of given program?#include<stdio.h>void main(){int a=1;if("%d=hello", a);} 0 1 no error no output complier error TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} Error %d\n 300 None of These TRUE ANSWER : ? YOUR ANSWER : ?
For 16-bit compiler allowable range for integer constants is ________? -3.4e38 to 3.4e38 -32668 to 32667 -32768 to 32767 -32767 to 32768 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 0 1 14 10 TRUE ANSWER : ? YOUR ANSWER : ?