Computer Programming MCQ Questions with Solutions
A programmar mistakenly uses the ‘for’ keyword for loops. Due to distraction Ravi writes ‘gor’ instead of ‘for’. What will this result to?
A) The code will not compileB) The code will give an error while in execution
C) The code may work for some inputs and not for others
D) It will create no problems.
Answer & Description:
A) The code will not compileA programmar mistakenly uses the ‘for’ keyword for loops. Due to distraction Ravi writes ‘gor’ instead of ‘for’. What will this result to The code will not compile