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
has and never will take
B
had taken nor will ever take
C No correction required
D
had and ever will take
E
had taken and will ever take
Share : |
A rem = 3.14 % 2.1;
B Remainder cannot be obtain in floating point division.
C rem = fmod(3.14, 2.1);
D rem = modf(3.14, 2.1);
Share : |
A Error
B Infinite loop
C Hello Hi
D Hi
Share : |
A Error
B 4
C Garbage value
D 5
Share : |
A 3.000000
B 5.000000
C Garbage value
D 4.000000
Share : |
A Prints "AptitudeCrack"
B Prints "AptitudeCrack" 5 times
C Infinite loop
D Function main() doesn't calls itself
Share : |
A Missing parenthesis in return statement
B None of above
C Redeclaration of a
D The function should be defined as int f(int a, int b)
Share : |
A Error: Prototype declaration
B No error
C Error: return statement cannot be used with conditional operators
D None of above
Share : |
A Error: Not allowed assignment
B Error: Doesn't print anything
C None of above
D No error
Share : |
A It prints garbage values infinitely
B No Error and print nothing
C Runs infinitely without printing anything
D Error: main() cannot be called inside printf()
Share : |