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