OS General Concepts Question:
Differentiate between Complier and Interpreter?
Answer:
when ever a program is to be compiled the syntax is
necessary and we wont receive the output until a correct
syntax is written
it shows the errors so debugging becomes easier
the best example is C language
where as in interpreter if we miss any syntax it violates
that particular line and goes to the next line
in this case we may or may not get the required output
it does not show any errors even though its violates the syntax
the best example is HTML
necessary and we wont receive the output until a correct
syntax is written
it shows the errors so debugging becomes easier
the best example is C language
where as in interpreter if we miss any syntax it violates
that particular line and goes to the next line
in this case we may or may not get the required output
it does not show any errors even though its violates the syntax
the best example is HTML
Previous Question | Next Question |
Tell me What are the different tasks of Lexical analysis? | Do you know What is cache memory? |