0 votes
107 views
in C program by (98.9k points)
edited

Compare and contrast compilers from interpreters.

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer
Compilers and interpreters often deal with how program codes are executed. Interpreters execute program codes one line at a time, while compilers take the program as a whole and convert it into object code, before executing it. The key difference here is that in the case of interpreters, a program may encounter syntax errors in the middle of execution, and will stop from there. On the other hand, compilers check the syntax of the entire program and will only proceed to execution when no syntax errors are found.

Related questions

0 votes
1 answer 153 views
0 votes
1 answer 171 views
0 votes
1 answer 148 views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...