answersLogoWhite

0

Is C compiled or interpreted

Updated: 8/11/2023
User Avatar

Wiki User

10y ago

Best Answer

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

10y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

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.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

6y ago

Interpreted.

This answer is:
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.

Related questions

Is C plus plus interpreted or compiled?

C++ is conventionally regarded as a compiled language, however there's nothing in the language itself that prevents it from being interpreted.


What are the interpreter in c plus plus?

C++ is a compiled language, not an interpreted language.


Is c plus plus a complied or interpreted language?

C++ is generally a compiled language.


Is lisp is both compiled and interpreted language?

Lisp is both compiled and interpreted language.


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 VB script language an interpreted or compiled language?

Interpreted.


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

Compiled.


What is a compiled program that runs on the client inside of an interpreted program?

As far as I know, interpreted software does not run compiled software at all.


How do you embed c coding in HTML?

I dont think it is possible because C and C++ are compiled languages whereas javascript is interpreted. Unless someone has written a C/C++ interpreter?


What are the characteristics of markup language?

interpreted not 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.