C++面试题目总结
1:进程与线程的区别?
答案:https://blog.csdn.net/chen134225/article/details/82967718
2:进程间的通信方式?
答案:https://blog.csdn.net/chen134225/article/details/82967718
3:线程间的通信方式?
答案:https://blog.csdn.net/chen134225/article/details/82967718
4:栈和堆的区别?
答案:https://blog.csdn.net/chen134225/article/details/81191501
5:C++和C的区别?
答案:https://blog.csdn.net/chen134225/article/details/82968064
6:红黑树和B树的区别?
答案:https://blog.csdn.net/chen134225/article/details/81116306
7:产生死锁的必要条件?已经如何预防死锁?
答案:https://blog.csdn.net/chen134225/article/details/82968198
8:TCP和UDP的区别?
答案:https://blog.csdn.net/chen134225/article/details/82968275
9:TCP状态中 time_wait 的作用?
答案:https://blog.csdn.net/chen134225/article/details/82968346
10:HTTP 2.0与HTTP 1.0的区别 ?
答案:https://blog.csdn.net/chen134225/article/details/79675103
11:HTTP与HTTPS的区别?
答案:https://blog.csdn.net/chen134225/article/details/79675247
12:TCP的三次握手和四次挥手的过程?
答案:https://blog.csdn.net/chen134225/article/details/82968511
13:事务具有四个特性?
答案:https://blog.csdn.net/chen134225/article/details/82968581
14:树的先序、中序和后序的非递归实现?
答案:https://blog.csdn.net/chen134225/article/details/82969139
15:树的层次遍历?
答案:https://blog.csdn.net/chen134225/article/details/82969139
16:static关键字的作用?
答案:https://blog.csdn.net/chen134225/article/details/82969468
17:const关键字的作用?
答案:https://blog.csdn.net/chen134225/article/details/82969468
18:指针和引用的区别?
- 指针:指针是一个变量,只不过这个变量存储的是一个地址,指向内存的一个存储单元;引用的底层是const指针,引用同样占据一块内存。
- 引用不可以为空,当被创建的时候,必须初始化,而指针可以是空值,可以在任何时候被初始化。
https://blog.csdn.net/chen134225/article/details/79649392
19:哈希表处理冲突的方法?
答案:https://blog.csdn.net/chen134225/article/details/82969611
20:面向对象的三大特性?
继承、封装、多态
21:多态的实现?
22:深拷贝和浅拷贝的区别?
答案:https://blog.csdn.net/chen134225/article/details/82977035
23:vector的实现原理
答案:https://blog.csdn.net/chen134225/article/details/82977066
24:C++ 源代码到可执行代码的详细过程 ?
答案:https://blog.csdn.net/chen134225/article/details/80976228
25:memcpy和strcpy的区别 ?
答案:https://blog.csdn.net/chen134225/article/details/82977117
26:vector删除数据时有什么需要注意的吗 ?
答案:https://blog.csdn.net/chen134225/article/details/82977166
27:虚函数和纯虚函数的区别?
答案:https://blog.csdn.net/chen134225/article/details/82977219
28:C++中overload,override,overwrite的区别?
答案:https://blog.csdn.net/chen134225/article/details/81188476
29:C++中4中强制类型转换 ?
答案:https://blog.csdn.net/chen134225/article/details/81305049
30:有了malloc/free,为什么还要new/delete?
答案:https://blog.csdn.net/chen134225/article/details/82977700
31:map可以用结构体作为健值吗,已经注意事项?
答案:https://blog.csdn.net/chen134225/article/details/81674052
32:Volatile的作用?
答案:https://blog.csdn.net/chen134225/article/details/81709640
33:了解哪些c++11特性?
答案:https://blog.csdn.net/chen134225/article/details/80976666
34:右值引用和move语义?
答案:https://blog.csdn.net/chen134225/article/details/80976666
35:STL里resize和reserve的区别?
答案:https://blog.csdn.net/chen134225/article/details/81113843
36:vector和deque的区别?
答案:https://blog.csdn.net/chen134225/article/details/81744367
37:不同排序算法的比较?
答案:https://blog.csdn.net/chen134225/article/details/82978151
38:大端和小端的区别,以及如何判断一台机器是大端还是小端?
答案:https://blog.csdn.net/chen134225/article/details/81132025
39:malloc分配内存的原理?
答案:https://blog.csdn.net/chen134225/article/details/82978296
40:为什么构造函数不能声明为虚函数,析构函数可以,构造函数中为什么不能调用虚函数?
https://blog.csdn.net/chen134225/article/details/81564972
41:stl中unordered_map 和 map的区别 ?
https://blog.csdn.net/chen134225/article/details/83106569
42:C/C++中extern的用法 ?
https://blog.csdn.net/chen134225/article/details/83105560
43:I/O模型
https://blog.csdn.net/chen134225/article/details/81749980