C interview questions – page 9
2,130 questions. Tap “Show answer” to check yourself.
-
What is the difference between public, private, protected inheritance?
-
What is Virtual Inheritance?
-
What is the difference between operator new and the new operator?
-
What happens if an exception is throws from an, object's constructor and object's destructor?
-
What is a constructor initializer list and when we use constructor initializer list?
-
What is conversion constructor?
-
Difference between delete and delete[]?
-
What is Name Decoration?
-
Explain the difference between 'operator new' and the 'new' operator?
-
What happens if an exception is throws from an object's constructor and from object's destructor?
-
what is the order of initialization for data?
-
Shall we use 'free' to free memory assigned by new, What are the further consequences??
- Advertisement
-
What are the advantages and disadvantages of using inline and const?
-
Profiler in projects?
-
What are raw sockets, where they are efficient?
-
How to construct muliton object
-
How to construct virtual constructor
-
When the design recommends static functions?
-
Difference between shift left and shift right?
-
Do we have private destructors?
-
How to avoid a class from instantiation?
-
What are the basics of classifying different storage types, why?
-
Difference between static global and global?
-
How to implement flags?
- Advertisement
-
When volatile can be used?
-
How to stop conversions among objects?
-
How to change constant values?
-
How to avoid changing constant values?
-
When copy constructor can be used?
-
What is the use of static functions?