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