answersLogoWhite

0


Best Answer

computer

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Function to translate source program to object program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 are the two parts of compilation?

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


Where do we write main function in a c program?

Into the source program.


Does interpreter generate an object program from the source program?

No, that's what the compiler does.


Which translates c source code into object code before the program can be executed?

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.


What is the compiler that is used in C?

A program that translates source program into object code.


What translator is needed for C programming language?

To translate the C source code program, you need a program called a "C compiler".


What program is the program that contains the language instructions or code to be converted?

There is no such thing: compiler translates but doesn't execute; interpreter executes, but doesn't translate.


Can you give more than one main function in the program?

In any source-files, the function names must be unique. In any program (which might be created from multiple source-files), the public function names must be unique.


What does a compiler do when you compile your program?

Coverts source code into object code


How do you extract function name from a c program using PERL?

What function do you mean? Any function defined in a source file? Or any function used in a source file? Be more specific.


What is source file and Object file?

A "source file" holds the instructions for a program in text, e.g. computer commands like printf(). When the source file is processed by a computer language compiler object files are created. These will then be linked together by another special computer program called a linker to create an executable program file. Think of the source as being text for humans and the object as being computer files that are generally unreadable.