answersLogoWhite

0

Assembler, COBOL, PL/I, C/C++ are all translated by running the source code through a compiler. This results in very efficient code that can be executed any number of times. The overhead for the translation is incurred just once, when the source is compiled; thereafter, it need only be loaded and executed.

Interpreted languages, in contrast, must be parsed, interpreted, and executed each time the program is run, thereby greatly adding to the cost of running the program. For this reason, interpreted programs are usually less efficient than compiled programs.

Some programming languages, such as REXX™ and Java™, can be either interpreted or compiled.

User Avatar

Wiki User

11y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
More answers

It can be either interpreted or compiled depending on the program you use for the translation. In general, most of the time it is compiled.

User Avatar

Wiki User

15y ago
User Avatar

Interpreted. The browser reads the same data you wrote, and turns it into a webpage.

User Avatar

Wiki User

14y ago
User Avatar

JavaScript is an interpreted language. (That's what "script" in the name of a language almost always stands for.)

User Avatar

Wiki User

12y ago
User Avatar

Interpreted.

User Avatar

Wiki User

7y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Is C compiled or interpreted
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is C plus plus interpreted as the program is executed?

No. Neither C nor C++ are interpreted. Both need to be compiled and linked to produce highly-optimised machine code, which is then executed.


There a program that uses both interpreted and compiled code?

Yes.EasyTreve Plus has both an interpreted and a compiled version available.


Is a code written in Eiffel programming language compiled or interpreted?

Compiled.


Which programming language is compiler type and which is interpreter type?

Although most languages are either compiled or interpreted, there's actually nothing to prevent you interpreting a language that is normally compiled, or compiling a language that is normally interpreted. BASIC, for instance, is traditionally an interpreted language, however modern implementations use compilation. Moreover, Java is typical of many modern languages that natively use both techniques by default, compiling the high-level source code into an intermediate byte code which is than interpreted to produce the machine code. But, with a suitable compiler implementation, it is possible to produce native machine code programs from Java source code. When we speak of compiled or interpreted languages we're usually referring to the language's standard, if it has one. C and C++ are standardised and both are compiled, but there's nothing to prevent them from being interpreted. BASIC, on the other hand, is non-standard because it has such a wide-variety of variants, some of which are interpreted, some of which compile to byte code (which is then interpreted) and some of which compile to native machine code. Non-standard languages are generally non-portable therefore you have to look at the specific implementation to determine if it is compiled, interpreted, or both compiled and interpreted.


Give a brief description about compiled and interpreted high level languages?

Any high level language may be either compiled or interpreted. The difference is in the execution speed. Interpreted programs must re-learn how to do each statement in the program, whereas a compiled program is already in the machine code language of the hardware and runs much faster.