answersLogoWhite

0

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

8y ago

What else can I help you with?

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.


Function to translate source program to object program?

computer

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


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


What is mean by ld?

"ld" typically stands for "linker," which is a program that takes compiled object files and libraries, and combines them to create an executable file. It resolves references between different parts of a program and produces the final binary code that can be executed by a computer.


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.


How do you use a program as a direct object?

To use a program as a direct object, you simply perform an action on the program directly. For example, "I use the program to edit photos." The program is the direct object in this sentence because it is the recipient of the action of being used.