answersLogoWhite

0

No, a C program cant work without an interpreter or compiler or assembler as the code written in the program is not understood directly by the computer so it needs any of the above translator program to make the program understandable to the computer.

-Shruti Jain
User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Engineering

How high level computer language works without assembler compiler and interpreter?

I do not know, ask your teacher.Why, for example Python, PHP, Pearl and JavaScript work without compiler; C, Pascal, Cobol and Fortan work without interpreter.None work "without assembler compiler and interpreter" so the question cannot be answered as asked because there is no answer.If we want to write a program without an assembler, compiler or interpreter; it is an easy answer. You hand assemble, that is where you manually enter the machine code. In the early days this was the only way to program a computer. Having done some hand assembly I have to things to say about it.1) it is not as hard as it might appear to be but it is painfully slow to do.2) why bother when there are excellent compilers available.


What is difference between assembler and linker?

There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker". Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language So you probably mean difference between compiler and linker? Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example). Really hard to say that without a schema or something like that:) Hope this answer helped you.


What are the purpose of compilers?

When writing a program, you write it in a certain language (java, C++, VB.NET etc.). For the computer to understand that, you need to convert it to computer language. That is what the compiler does.


What is basic interpreter?

An interpreter, in computer programming, is software that takes an accepted syntax, and "interprets" it for the processor, which then executes the results of the interpretation. This is different than a compiler, which directly outputs machine code into a separate binary file (C++ falls in this category), and also different from a script, which is typically run without an integrated, interactive debugging environment (Perl falls in this category). BASIC is a programming language that was designed to be a beginner's programming language, lacking many features that would be found in many "complicated" languages, such as object-oriented programming, template programming, etc. Many other features, such as function calls, were made explicit compared to other similar languages. For example, in most languages, you would simply type the name of a function to execute it, while in BASIC, you would use GOSUB to explicitly call the function.


Why machine language does not require compiler?

There is only one computer language that doesn't require a compiler - machine code. This is the language that the computer processor understands directly without having to be interpreted first. However it is difficult to understand and it is more usual for people to use assembly language.

Related Questions

How high level computer language works without assembler compiler and interpreter?

I do not know, ask your teacher.Why, for example Python, PHP, Pearl and JavaScript work without compiler; C, Pascal, Cobol and Fortan work without interpreter.None work "without assembler compiler and interpreter" so the question cannot be answered as asked because there is no answer.If we want to write a program without an assembler, compiler or interpreter; it is an easy answer. You hand assemble, that is where you manually enter the machine code. In the early days this was the only way to program a computer. Having done some hand assembly I have to things to say about it.1) it is not as hard as it might appear to be but it is painfully slow to do.2) why bother when there are excellent compilers available.


What are coments made out of?

Comments in programming are made out of text characters that are not interpreted by the compiler or runtime. They are used to document the code, provide explanations, or temporarily disable code without affecting the program's functionality. Comments are typically ignored by the compiler or interpreter when the code is executed.


What is difference between assembler and linker?

There is no definite term "assembler" in compilation process. It is more like "compiler" and "linker". Assembler usually refers to a compiler of machine language: http://en.wikipedia.org/wiki/Assembly_language So you probably mean difference between compiler and linker? Lets say you have a 3 module program, and it uses a 3rd party library, then the compiler will just compile each of your modules (separately) into binary pieces, which have "unclosed" references to abovementioned library and other 2 modules. After u have 3 binary pieces comes in "linker" it attaches those "unclosed" (or unlinked) links to other modules and library, therefore giving you working program file (.exe file for example). Really hard to say that without a schema or something like that:) Hope this answer helped you.


Why is a compiler a necessary part of a computer system?

A compiler isn't technically part of the computer. A compiler takes the source code of a program and compiles it into a usable program. However, without a compiler, there will be very few programs, and thus computers won't be much use.


What are the purpose of compilers?

When writing a program, you write it in a certain language (java, C++, VB.NET etc.). For the computer to understand that, you need to convert it to computer language. That is what the compiler does.


What is translator in computing?

Translator is defined as a computer program that converts instructions written in one language to another without changing the initial logic in terms of computer language.


What is the different between interpreter and compiler?

Without giving the definition for both words,A compilation is several things from A specific origin grouped together. and A iterpretation is making A opinion based judgment from the evidence on hand


Can you provide a detailed review of the var keyword and its significance in programming languages?

The 'var' keyword is used in programming languages to declare variables without specifying their data type explicitly. It allows for more flexible and concise code, as the compiler or interpreter determines the data type based on the assigned value. This can make code easier to read and write, but it can also lead to potential issues with type inference and readability. Overall, the 'var' keyword is significant in modern programming languages for its convenience and flexibility in variable declaration.


How do you give comments in C programming?

add "//" before starting your comment (without quotes) and the compiler won't process it, it will be treated as commentfor example// this is an example of writing comments.


What is basic interpreter?

An interpreter, in computer programming, is software that takes an accepted syntax, and "interprets" it for the processor, which then executes the results of the interpretation. This is different than a compiler, which directly outputs machine code into a separate binary file (C++ falls in this category), and also different from a script, which is typically run without an integrated, interactive debugging environment (Perl falls in this category). BASIC is a programming language that was designed to be a beginner's programming language, lacking many features that would be found in many "complicated" languages, such as object-oriented programming, template programming, etc. Many other features, such as function calls, were made explicit compared to other similar languages. For example, in most languages, you would simply type the name of a function to execute it, while in BASIC, you would use GOSUB to explicitly call the function.


Can a computer boot without a compiler?

do not no


What is a programming?

Programming is giving a computer instructions with a programming language such as Python, C#, BASIC, FORTRAN, COBOL, etc. and saving the code into a text document (.txt) or a file with a language specific extension like .py(Python) .cpp(C++), .com(Assembly language (communicating directly with the computers processor)) ,.bas(BASIC) that the computer CANNOT understand, however using an interpreter runs the code without creating an object file(.exe). Compiling that code with a compiler turns that language syntax into machine code (0's and 1's, or in the world of Microsoft, .exe, short for executable) which the computer understands and WILL RUN.Programming looks like:C++ (infamous for a reason :P):#include //