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