computer
1) source program to object program 2)object program to object program output
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.
There is no such thing: compiler translates but doesn't execute; interpreter executes, but doesn't translate.
Coverts source code into object code
You don't have, it's only the program-execution which begins with the main function, but it doesn't have to be the first function in the source-file.
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.
1) source program to object program 2)object program to object program output
Into the source program.
No, that's what the compiler does.
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.
A program that translates source program into object code.
To translate the C source code program, you need a program called a "C compiler".
There is no such thing: compiler translates but doesn't execute; interpreter executes, but doesn't translate.
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.
Coverts source code into object code
What function do you mean? Any function defined in a source file? Or any function used in a source file? Be more specific.
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.