VMWare Inc Interview Question
Software Engineer / DevelopersAssume a project consists of multiple files. When we compile the code, every file gives its own object code. After the linking happens, we will get an executable file which we run.
Assume a project consists of multiple files. When we compile the code, every file gives its own object code. After the linking happens, we will get an executable file which we run.
is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.
Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.
Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.
Both are binary files but the differences between those are:-
- Nit May 22, 20121) we can execute an executable file while we cannot execute an object file.
2) An object file is a file where compiler has not yet linked to the libraries, so you get an object file just before linking to the libraries, so still some of the symbols or function definitions are not yet resolved which are actually present in the libraries, and that's why we cannot execute it.
Once an object file is linked with the library by the compiler, then all the symbols are resolved and we get an executable file which can be executed on the appropriate platform.
So basically the difference is that we get an object file when we don't link with library while executable file is with the linking phase.