Object code is necessary, because object code is the actual instructions, or machine language, that the computer executes. Object code is the output of the compiler, as it translates the higher level language into the machine language. It is also the output of the linker, as it combines object code modules from the compiler output and the various libraries in its process of building a fully linked load module.
Chat with our AI personalities
No.That's the job of the compiler. The linker takes the pieces of object code created by the compiler and links all the necessary pieces together to produce a finished product: either an executable program or a code library that can be used in future projects.
compiler
Coverts source code into object code
An object program is a compiled program ready to be loaded on a computer, i.e. machine code, ready to be executed by the machine. A source program is what the programmer wrote, which is then translated into object program by a compiler.
Is called machine code