"HARD WORK BEATS TALENT WHEN TALENT DOSEN'T WORK HARD."
"HARD WORK BEATS TALENT WHEN TALENT DOSEN'T WORK HARD."
Translator is nothing but a program. Translator is a program who convert the Source language to target language. Source program mean written by the programmer and target language mean machine understandable language.
It convert high level language (source code) to machine language (assembly language). Compiler take the whole program and convert it into machine language.
It is same as the compiler but it not take the whole program for the conversion. It take line by line code and convert it into machine language.
Assembler convert the assembly language code to binary language code as an output.
Our C language only support two type translator. Compiler and assembler only. Interpreter come in java language and it always take input as a high level language and convert into machine language.