VMWare Inc Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
3
of 3 vote

Both are binary files but the differences between those are:-
1) 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.

- Nit May 22, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

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.

- Sam January 20, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

how we link all the files

- Anonymous January 21, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

There is a program called the linker which does that

- abhimanipal January 31, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

* before link?
* after link?

- Zaphod January 19, 2010 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

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.

Learn More

Resume Review

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.

Learn More

Mock Interviews

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.

Learn More