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