软件外企C++面试题,大家试试看

来源:互联网 发布:js电子邮箱正则表达式 编辑:程序博客网 时间:2024/06/05 01:52
好好地考察一下你的Embedded English & C language理解力吧.
 
1.What is achieved by prefixing the 'static' keyword to a file-level function or file-level variable declaration?
 
2.Describe the difference between the “IS A” and “HAS A” object relationships. Which is the stronger relationship and why?
 
3.Java & C# support interfaces directly with the “interface” keyword.
C++ does not have an “interface” keyword. How do you create an interface in C++?
Where/when is the use of interfaces especially helpful?
 
4.If a program requires a large number of execution contexts what can be done to minimise thread scheduling overhead?

5. What does it mean to say that a function is reentrant?
What are some of the ways of achieving re-entrancy? 
原创粉丝点击