Which language can be picked for writing a compiler?
-
Assembly
-
FORTRAN
-
C
-
JAVA
-
None of the above
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.