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