1.

A programmer by mistakes writes a program to multiply two numbers instead of dividing them, how can this error be detected?(a) Compiler(b) Interpreter(c) Compiler or interpreter(d) None of the mentionedThe question was posed to me in semester exam.This question is from Lexical Analysis in chapter Compiler Introduction of Compiler

Answer»

The CORRECT answer is (d) NONE of the mentioned

The explanation: This is a LOGICAL ERROR that can’t be detected by any compiler or interpreter.



Discussion

No Comment Found

Related InterviewSolutions