Re: Interview befuddlement
On Mar 31, 6:45 pm, "Victor Bazarov" <v.Abaza...@comAcast.net> wrote:
lbonaf...@yahoo.com wrote:
I've had four technical interviews with the same company
(and one Brainbench exam), and every one of the
interviewers asked me what the vtable looked like. Is this
common? One of them also asked me about how the code and
data segments were laid out in memory for N number of
instantiated objects.
Those do have something to do with C++. They touch on
implementation detail. They must have been important to the
team and that's why they decided to ask them. Did you ask why
they were asking?
There were plenty of other questions about inheritance,
polymorphism, composition, RAII, as well as Unix specific
questions about IPC, threads, etc, as this is for a C++/Unix
architect/developer position. I just found the repetitive
vtable questions puzzling.
You ought to ask them why they thought those were important.
Could it be that they develop their own compiler/linker?
In which case, the question would be: how would you lay them
out? I too would wonder about such a question in an interview,
since after all, the only correct response is "I don't know"
(given that you don't know what compiler they're using), perhaps
elaborating that it depends on the implementation, and that an
implementation isn't even required to use a vtable.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34