Q & A by Maninder Singh

Question:

QUESTION: What is the role of a compiler or interpreter in programming?

Answer:

Compilers and interpreters are like tools that help convert source code into machine code. Compilers do this all at once, while interpreters do it line by line during program execution.