0 votes
88 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 120 views
0 votes
1 answer 156 views
0 votes
1 answer 137 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

537 users

...