Directions to Solve Which of phrases given below each sentence should replace the phrase printed in bold type to make the grammatically correct? If the sentence is correct as it is, mark 'E' as the answer. A
had taken and will ever take
B
had taken nor will ever take
C
has and never will take
D No correction required
E
had and ever will take
Share : |
A rem = modf(3.14, 2.1);
B rem = fmod(3.14, 2.1);
C rem = 3.14 % 2.1;
D Remainder cannot be obtain in floating point division.
Share : |
A Infinite loop
B Error
C Hello Hi
D Hi
Share : |
A 5
B Error
C 4
D Garbage value
Share : |
A 3.000000
B Garbage value
C 5.000000
D 4.000000
Share : |
A Prints "AptitudeCrack"
B Infinite loop
C Prints "AptitudeCrack" 5 times
D Function main() doesn't calls itself
Share : |
A None of above
B Redeclaration of a
C Missing parenthesis in return statement
D The function should be defined as int f(int a, int b)
Share : |
A None of above
B Error: Prototype declaration
C Error: return statement cannot be used with conditional operators
D No error
Share : |
A Error: Not allowed assignment
B No error
C Error: Doesn't print anything
D None of above
Share : |
A Runs infinitely without printing anything
B No Error and print nothing
C It prints garbage values infinitely
D Error: main() cannot be called inside printf()
Share : |