C++ 面试题与答案
Test your skills through the online practice test: C++ Quiz Online Practice Test
相关差异对比
问题 121. What is the two main roles of Operating System?
As a resource manager
As a virtual machine
这有帮助吗?
添加评论
查看评论
问题 122. In the derived class, which data member of the base class are visible?
In the public and protected sections.
这有帮助吗?
添加评论
查看评论
问题 123. Could you tell something about the Unix System Kernel?
The kernel is the heart of the UNIX openrating system, it?s reponsible for controlling the computer?s resouces and scheduling user jobs so that each one gets its fair share of resources.
这有帮助吗?
添加评论
查看评论
问题 124. What are each of the standard files and what are they normally associated with?
They are the standard input file, the standard output file and the standard error file. The first is usually associated with the keyboard, the second and third are usually associated with the terminal screen.
这有帮助吗?
添加评论
查看评论
问题 125. Detemine the code below, tell me exectly how many times is the operation sum++ performed ?
for ( i = 0; i < 100; i++ )
for ( j = 100; j > 100 - i; j?)
sum++;
(99 * 100)/2 = 4950
The sum++ is performed 4950 times.
这有帮助吗?
添加评论
查看评论
用户评价最有帮助的内容:
- What is C++?
- What is function overloading and operator overloading?
- What is the difference between declaration and definition?
- How do you find out if a linked-list has an end? (i.e. the list is not a cycle)
- What is the difference between realloc() and free()?