Is compiler specific to a language? Explain.
Answers
Answer:
Yes
Explanation:
Yes compiler are language specific.
A compiler is a typical program that decodes statements written in a particular programming language and turns them into machine language.
Hence compiler will be language specific since it needs to understand corresponding language to convert into machine language.
DJGPP compiler - C/C++ compiler
LCC-Win32 compiler - Windows 95/98/NT
Bloodshed Dev-C - C language
The answer is YES.
YES, compiler is specific to a language. Although all languages use compilers, it is not the same for all of them.
A compiler is a program that converts computer code written in source programming language into target programming language. In other words, code written in high-level programming language is converted to low language such as object code, machine code or assembly language to generate an executable program.