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.
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.
No, that's what the compiler does.
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.
Programs that translate source code to object code are known as compilers. A compiler takes high-level programming languages like C, C++, or Java and converts them into machine code or object code that can be executed by a computer's hardware. Additionally, assemblers translate assembly language into object code, while interpreters directly execute the source code without generating a separate object code file. Examples of popular compilers include GCC for C/C++ and the Java Compiler (javac) for Java.
Coverts source code into object code
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 function do you mean? Any function defined in a source file? Or any function used in a source file? Be more specific.