(Interview) Frequently Ask Question on C/C++/Algorithm
C++: Libraries
C++: Common & Differences with C
C++: static in C/C++
-
What does static function mean in C? Can you give an example?
-
What does static member function differ from regular member functions in C++?
C++: Namespace
C++:const and mutable
C++: Object Oriented Aspect
-
What is virtual inheritance? Why do we need virtual inheritance?
-
If a class constructor is protected, can we construct an object of that class?
-
What is the constructor/destructor calling order along the hierarchy?
-
Whsat are deep/shalow copy constructor means, can you give some examples?
C++: Memory & Memory Leak
-
Why I deleted a pointer, then use it, I still get the same data?
-
If two pointers point to the same object, when I delete one, does that release the memory?
-
Why am I not allowed to define a data member of class/struct Node as the Node itself?
-
Can I use a pointer to class/struct Node as a data member in the above question?
C++: Template
C++: Miscellaneous
-
Can you give a simple example of inputting 100 floating numbers?
-
Can you give an exception handling example using set_unexpected in C++?
-
What is balanced tree? Do the two subtree need to be the same height?
COURTESY: http://bobcat.webappcabaret.net

