1. Difference between heap and stack?
2. The difference between structs and classes in c++?
3. What is virtual function?
4. How does virtual function implemented?
Vtable:
5. What’s abstract class?
6. What is pure virtual function?
7. What’s the difference between virtual function and pure virtual
function?
8. What’s the difference between thread and process?
9. What’s the difference between mutex and semaphore?
10. What is the difference between new and operator new?
11. What is the difference between assignment and initialization?
12. What is polymorphism? How does it implemented?
13. What is encapsulation?
14. Copy constructor
15. Difference between copy constructor and assignment.
16. What’s the difference between pointer and reference?
17. What is friend function?
18. What’s the binary search tree?
19. What’s the stack?
20. What’s LIFO (Last In First Out)?
21. Given a stack, and 5 variables, reqire you put the 5 variables into
the stack. How would you test it before putting them in?
22. How would you test your own program?
23. Tell me the first three of your most familiar technical skills.
24. What’s the persentage of back-in, middle tier, and front-in
development?
25. What do you think a good code is?
26. How do you keep you with the latest technologies?
27. distance vector routing protocol
28. c and c++ difference
29. explain constructor and destructor
30. what is copy constructor? When it is called?
31. overloading and overriding difference
32. what is recurcive function? Implement one recurcive funcition.
33. declare a pointer point to an interger;
point to 20 intergers;
point to 20 pointers which point to interger
34. What’s virtual destructor?
35. how is the source file compiled to executable(from source file ->
binary file)?
36. After the source file is compiled to binary file, how is the binary
file orgnized and stored?
37. What is overloading? How does the computer know which function is
according to which implementation since they have the same name?
38. Memory leakage:
How you ever met memory leakage program, is it cause severe problem?
How did you find the leakage?
Have you ever used any software to detect the memory leakage?
39. c++ file in Linux: which compiler do you use?
40. Given a file, tell me the steps of reading the file.
41. What is “IS” and “Has” in C++? What’s the difference?
42. the disadvantage of using stored procedures with parameters.
43. when inserting a record into a table, how can you let the relatived
tables change accordingly?
