42.2k views
3 votes
Why are compilers and interpreters used?

User Ebsddd
by
5.1k points

2 Answers

7 votes
They are used tO convert source code into machine code, we use either a compiler or an interpreter. Both compilers and interpreters are used to convert a program written in a high-level language into machine code understood by computers.
User Reza Afzalan
by
6.5k points
6 votes
To convert source code into machine code, we use either a compiler or an interpreter. Both compilers and interpreters are used to convert a program written in a high level language into machine code understood by computers...
User Sam Clewlow
by
6.0k points