Multiple choice

Which language can be picked for writing a compiler?

  1. Assembly

  2. FORTRAN

  3. C

  4. JAVA

  5. None of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Writing a compiler requires modular and structured functions to execute compiler operations. One may also require to access the hardware directly, so such facility is required in the language. The language must also provide facility to handle complex data bases and structures with ease. C language provides all such facilities. So, it will be picked.