what is the difference between compiler and interpreter? which is better plz answer this question pls I will mark them as brainliest and also follow them
Answers
Difference Between Compiler and Interpreter
July 29, 2017 19 Comments
featuredA compiler is a translator which transforms source language (high-level language) into object language (machine language). In contrast with a compiler, an interpreter is a program which imitates the execution of programs written in a source language. Another difference between Compiler and interpreter is that Compiler converts the whole program in one go on the other hand Interpreter converts the program by taking a single line at a time.
Answer:
Interpreter translates just one statement of the program at a time into machine code. Compiler scans the entire program and translates the whole of it into machine code at once. An interpreter takes very less time to analyze the source code. However, the overall time to execute the process is much slower.
thanks
and
sorry for irrelevant questions.
take care of yourself and your family
be at home be safe