Question: what is the difference between object file and executable?
Answer: The main difference between object file and executable file is that an object file is a file that is generated after compiling the source code while an executable file is a file that is generated after linking a set of object files together using a linker.