C plus plus Interview Questions & Answers

C plus plus Interview Online Test
1. What is a modifier?
Show Answer
2. What is an accessor?
Show Answer
3. Differentiate between a template class and class template.
Show Answer
4. When does a name clash occur?
Show Answer
5. Define namespace.
Show Answer
6. What is the use of 􀂵using􀂶 declaration.
Show Answer
7. List out some of the OODBMS available.
Show Answer
8. List out some of the object-oriented methodologies.
Show Answer
9. What is an incomplete type?
Show Answer
10. What is a dangling pointer?
Show Answer
11. Differentiate between the message and method.
Show Answer
12. What is an adaptor class or Wrapper class?
Show Answer
13. What is a Null object?
Show Answer
14. What is class invariant?
Show Answer
15. What do you mean by Stack unwinding?
Show Answer
16. Define precondition to a member function.
Show Answer
17. Define post-condition to a member function.
Show Answer
18. What are the conditions that have to be met for a condition to be an invariant of the class?
Show Answer
19. What are proxy objects?
Show Answer
20. Name some pure object oriented languages.
Show Answer
21. Name the operators that cannot be overloaded.
Show Answer
22. What is a node class?
Show Answer
23. What is an orthogonal base class?
Show Answer
24. What is a container class? What are the types of container classes?
Show Answer
25. What is a protocol class?
Show Answer
26. What is a mixin class?
Show Answer
27. What is a concrete class?
Show Answer
28. What is the handle class?
Show Answer
29. What is an action class?
Show Answer
30. When can you tell that a memory leak will occur?
Show Answer
31. What is a parameterized type?
Show Answer
32. Differentiate between a deep copy and a shallow copy?
Show Answer
33. What is an opaque pointer?
Show Answer
34. What is a smart pointer?
Show Answer
35. What is reflexive association?
Show Answer
36. What is slicing?
Show Answer
37. What is name mangling?
Show Answer
38. What are proxy objects?
Show Answer
39. Differentiate between declaration and definition in C++.
Show Answer
40. What is cloning?
Show Answer
41. Describe the main characteristics of static functions.
Show Answer
42. Will the inline function be compiled as the inline function always? Justify.
Show Answer
43. Define a way other than using the keyword inline to make a function inline.
Show Answer
44. How can a '::' operator be used as unary operator?
Show Answer
45. What is placement new?
Show Answer
46. What is the difference between an object and a class?
Show Answer
47. What is a class?
Show Answer
48. What is an object?
Show Answer
49. What is the difference between class and structure?
Show Answer
50. Define object based programming language?
Show Answer
51. Define object oriented language?
Show Answer
52. Define OOPs?
Show Answer
53. What is public, protected, and private?
Show Answer
54. What is a scope resolution operator?
Show Answer
55. What do you mean by inheritance?
Show Answer
56. What is abstraction?
Show Answer
57. What is encapsulation?
Show Answer
58. How variable declaration in c++ differs that in c?
Show Answer
59. What are the c++ tokens?
Show Answer
60. What do you mean by reference variable in c++?
Show Answer
61. What do you mean by implicit conversion?
Show Answer
62. What is the difference between method overloading and method overriding?
Show Answer
63. What is polymorphism?
Show Answer
64. What do you mean by inline function?
Show Answer
65. What is the difference between a NULL pointer and a void pointer?
Show Answer
66. What do you mean by multiple inheritance in C++ ?
Show Answer
67. What do you mean by virtual methods?
Show Answer
68. What do you mean by static methods?
Show Answer
69. How many ways are there to initialize an int with a constant?
Show Answer
70. What is a constructor?
Show Answer
71. What is destructor?
Show Answer
72. What is an explicit constructor?
Show Answer
73. What is the Standard Template Library?
Show Answer
74. What problem does the namespace feature solve?
Show Answer
75. What is the use of ‘using declaration?
Show Answer
76. What is a template?
Show Answer
77. Differentiate between a template class and class template?
Show Answer
78. What is the difference between a copy constructor and an overloaded assignment operator?
Show Answer
79. What is a virtual destructor?
Show Answer
80. What do you mean by Stack unwinding?
Show Answer
81. What is a container class? What are the types of container classes?
Show Answer
82. Name some pure object oriented languages?
Show Answer
83. Name the operators that cannot be overloaded?
Show Answer
84. What is an adaptor class or Wrapper class?
Show Answer
85. What is a Null object?
Show Answer
86. What is class invariant?
Show Answer
87. What is a dangling pointer?
Show Answer
88. How can we access protected and private members of a class?
Show Answer
89. Can you handle exception in C++?
Show Answer
90. What is virtual function?
Show Answer
91. What do you mean by early binding?
Show Answer
92. what do you mean by late binding?
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test