0 votes
in C Plus Plus by
How is source code different from object code?

1 Answer

0 votes
by
Source CodeObject Code
Source code is generated by the programmer.object code is generated by a compiler or another translator.
High-level code which is human-understandable.Low-level code is not human-understandable.
Source code can be easily modified and contains less number of statements than object code.Object code cannot be modified and contains more statements than source code.
Source code can be changed over time and is not system specific.Object code can be modified and is system specific.
Source code is less close to the machine and is input to the compiler or any other translator.Source code is more close to the machine and is the output of the compiler or any other translator.
Language translators like compilers, assemblers, and interpreters are used to translate source code to object code.Object code is machine code so it does not require any translation.

Related questions

0 votes
asked Jan 11 in C Plus Plus by GeorgeBell
0 votes
asked Jan 12 in C Plus Plus by GeorgeBell
...