- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
2013微软暑期实习笔试题与答案
微软2013暑期实习笔试题及参考答案分析
Which of the following calling convension support supportvariable-length parameter?
A cdecl
B stdcall
C pascal
D fastcall
2. what’s the output of the following code?
class A
{
pulic:
virtual void f( )
{
cout”A::f( )”endl;
}
void f( ) const
{
cout”A::f( ) const”endl;
}
};
class B: public A
{
public:
void f( )
{
cout”B::f( )”endl;
}
void f( ) const
{
cout”B::f( ) const”endl;
}
};
void g( const A *a )
{
a-f( );
}
int main( )
{
A *a=new B( );
a-f( );
g(a);
delete a;
}
A B::f( ) B::f( ) const
B B::f( ) A::f( ) const
C A::f( ) B::f( ) const
D A::f( ) A::f( ) const
3.what is difference between a linked list and an array?
A Search complexity when both are sorted
B Dynamically add/remove
C Random access efficiency
D Data storage type
4.About the Thread and Process in Windows,which description is correct?
A One application in OS must have one Process,but not a necessary to have one Thread
B The Process could have its own Stack but the thread only could share the stack of its parent Process
C Thread must belongs to a Process
D Thread could change its belonging Process
5.what is the output of the following code?
{
int x=10;
int y=10;
x=x++;
y=++y;
printf(“%d,%d\n”,x,y);
}
A 10,10
B 10,11
C 11,10
D 11,11
6.From the following Java or C# code
int[ ][ ] myArray3=new int[3][ ]{
new int[3]{5,6,2},
new int[5]{6,9,7,8,3},
new int[2]{3,2}};
what will myArray3[2][2] returns
A 9
B 2
C 6
D overflow
7.Please choose the right statement about const usage
A const int a;//const integer
B int const a;//const integer
C int const *a;//a pointer which point to a const integer
D const int *a;//a const pointer which point to integer
E int const *a;//a const pointer which point to integer
8.Given the following code
#include iostream
class A
{
public:
long a;
}
class B:public A
{
public:
long b;
}
void seta(A *data,int idx)
{
data[idx].a=2;
}
int _tmain(int argc,_TCHAR *argv[ ])
{
B data[4];
for
您可能关注的文档
最近下载
- 小学幼儿园正方体的11种展开图(打印版)-趣味版.pdf VIP
- (推荐!)2025医疗器械研究资料产品性能研究报告模板(护理包为例).docx VIP
- 部编版语文四年级上册第5单元习作《生活万花筒》优质课件.pptx VIP
- 罗宾斯管理学第15版中文PPT第14章.pptx VIP
- 初中化学校本课程(定稿).pdf VIP
- 人教版物理九年级 能量的转化和守恒 教案.docx VIP
- 苏教版六年级数学上册全册课时练含答案(共67份).pdf
- J-STD-035A非密封封装电子器件的声学显微技术.pdf VIP
- 医疗器械注册研究资料模板.pdf VIP
- 《国有企业采购操作规范:国有企业供应链采购活动与监督》2023修订版解读.pptx VIP
文档评论(0)