l****n 发帖数: 727 | 1 【 以下文字转载自 JobHunting 讨论区 】
发信人: tuyatmit (dodo), 信区: JobHunting
标 题: JP Morgan phone interview questions
发信站: BBS 未名空间站 (Fri Nov 17 15:05:32 2006)
The guy was very nice, asked me about my research and other stuff in the
resume (I'm wrapping up my PhD in CS).
He asked the following C++/C questions:
1. What's wrong with the following lines of code? Does it complie? If yes,
any problems?
class A { ... };
class B : public A { ... } // definitions of classess, these are OK
Foo() {
A & a = B(); |
|