answersLogoWhite

0


Best Answer

Question #1: Compiler.

Question #2: If you want to execute an external program in C, use function system.
A translator in computer programming is a piece of software that translates one programming language to another.

Therefore a C translator would translate either C source code into another language, let's say BASIC.

So if you had a C to BASIC translator, you would write a program in C and the translator would give you the equivalent source code in BASIC.

I have never used a translator, but at first glance, it doesn't sound very reliable for both security and memory management reasons.

User Avatar

Wiki User

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

Wiki User

14y ago

A compiler translates source program into object program.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which translates c source code into object code before the program can be executed?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the two parts of compilation?

1) source program to object program 2)object program to object program output


In java how the class containing main is executed with out creating an object?

You may know that static methods in Java are executed even before the constructor of that class are called. Similarly, since the main method is static it gets executed first even before the others methods of the class are called. Since it is being called before the constructor, logically speaking you cannot have objects of that class.


What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


What are object files in c?

Object files are intermediate files generated when an application is constructed from source code. In a classic compile-assemble-link toolchain, the compiler translates (C language) source code into assembly language output. The assembler translates this intermediate assembly source into a binary form known as object code. Files containing object code often have a .o or .obj file name extension and are generally called object files. The linker takes the object files and combines them into the complete executable.While many modern tools hide the individual steps, or even integrate compilation and assembly into one, most (all?) compilers generate object files.


What is a computer interpreter?

An interpreter, or a translator, is a person who translates different languages. For an example, if a Chinese person and an American person can't understand each other, an intepreter can translate for both of them.

Related questions

What is the compiler that is used in C?

A program that translates source program into object code.


Differences between source program and object program?

SOURCE PROGRAM=A set of instructions of the high level language used to code problems to find its solution on a computer is referred as source program. OBJECT PROGRAM=The computer translates the source program into machine language program called object program by using an interpreter or compiler is called object program.


What kind of statement is precompiled and stored in a PreparedStatement object?

A programming statement is precompiled and stored in a PreparedStatement object. It is usually a statement that is repeated and executed many times throughout the program.


What is an assembler in operating system?

an assembler is aroutine program that translates assemly language source code to a machine language object code


What is Function of loader in system software?

Whenever the assembly program is to be executed, it has to be assembled again; Programs ...loads the first program to be run by the computer -- usually an operating system ...


What is dlls?

Make the DLL literally means "disaster", is a DLL com components caused due to upgrade program can not be executed. COM object often be compiled for DLLS.


What are the two parts of compilation?

1) source program to object program 2)object program to object program output


What is DLL Hell?

Make the DLL literally means "disaster", is a DLL com components caused due to upgrade program can not be executed. COM object often be compiled for DLLS.


In java how the class containing main is executed with out creating an object?

You may know that static methods in Java are executed even before the constructor of that class are called. Similarly, since the main method is static it gets executed first even before the others methods of the class are called. Since it is being called before the constructor, logically speaking you cannot have objects of that class.


What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


What are object files in c?

Object files are intermediate files generated when an application is constructed from source code. In a classic compile-assemble-link toolchain, the compiler translates (C language) source code into assembly language output. The assembler translates this intermediate assembly source into a binary form known as object code. Files containing object code often have a .o or .obj file name extension and are generally called object files. The linker takes the object files and combines them into the complete executable.While many modern tools hide the individual steps, or even integrate compilation and assembly into one, most (all?) compilers generate object files.


When instructions are carried out a program runs a?

[object Object]