Monday, May 24, 2010

Is C language a compiler or interpreter?

Is C language a compiler or interpreter????can u tell the same about java also

Is C language a compiler or interpreter?
C and Java are both compiled before the program is run.
Reply:C is compled into native instructions for a specific CPU. A programme compiled for a Sun Sparc cannot be run on an i386 based machine.





Java is coded into a pcode which is then interpreted. This allows the a java programme to be compiled on one machine and executed on any machine with a JVM.

elephant ear

No comments:

Post a Comment