What is the benefit of encapsulation?
No Answer is Posted For this Question
Be the First to Post Answer
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?
What does '\r' and '\b' mean? Please explain with example.
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
how is returning structurs from functions?Show an eg?
What is using namespace std in cpp?
Explain the use of this pointer?
What is a class template?
What are shallow and deep copies?
What is a class definition?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Is java as fast as c++?