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