![]() ![]() Whereas, interpreter converts each statement of the program into the machine code. ![]() The main difference between compiler and interpreter is that a compiler takes the complete program at once and translates it into machine code, which usually saves it in a file. Both interpreter and compiler convert the source code into machine code, but both work in different ways. The program written in a high-level language is called source-code, and the code understood by the computer is known as machine code. Hence it is required to convert a code written in a high-level language into machine code, and for this purpose interpreter and compiler are used. Interpreter |Difference between Compiler and InterpreterĪs we know, a computer can only understand the machine language or machine code, which is written in the form 0 and 1s, but human understands and usually writes the code into the high-level language (English-like syntax), such as Java, C, etc. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |