摘要:
研习了Linux公社发布的2013搜狗校园招聘笔试题,还是有些收获的。//第一题:以下程序的输出是___________________class Base{public: Base(int j):i(j){} virtual ~Base(){} void func1(){i *= 10; func2();} int getValue(){return i;}protected: virtual void func2(){i++;}protected: int i;};class Child:public Base{public: Child(int j):Base(j){} void fun 阅读全文
posted @ 2012-10-21 00:08
wnarutou
阅读(271)
评论(0)
推荐(0)
浙公网安备 33010602011771号