Another Bloomberg Phone Interview# JobHunting - 待字闺中
p*r
1 楼
1) difference between c and c++
2) key components in stl
3) what's functor? comparison of function pointer and functor
4) difference between malloc and new
5) how is free(void*) implemented?
6) which methods would be in an empty class?
7) size of an empty class, how about adding one virtual function in empty
class?
8) how is virtual function implemented?
9)
class Base{
virtual g();
};
class Derived{
virtual g();
};
Base* p = new Derived();
p->g(), which g function would be called.
10)
class Base
2) key components in stl
3) what's functor? comparison of function pointer and functor
4) difference between malloc and new
5) how is free(void*) implemented?
6) which methods would be in an empty class?
7) size of an empty class, how about adding one virtual function in empty
class?
8) how is virtual function implemented?
9)
class Base{
virtual g();
};
class Derived{
virtual g();
};
Base* p = new Derived();
p->g(), which g function would be called.
10)
class Base