What is the difference between public, private, protected
inheritance?
Answer Posted / saikat
A private member can only be accessed by other methods of
the same class, while a public member can be accessed by
methods of any class or by non class code.
| Is This Answer Correct ? | 9 Yes | 9 No |
Post New Answer View All Answers
Write a function that swaps the values of two integers, using int* as the argument type?
What is the use of lambda in c++?
What is a class template?
What is public, protected, private in c++?
What is type of 'this' pointer?
What relational operators if statements in c++?
What do you mean by inheritance in c++? Explain its types.
What is the c++ programming language used for?
Is c++ fully object oriented?
Explain mutable storage class specifier.
What is a syntax in c++?
What is the purpose of template?
what is data encapsulation in C++?
How do I make turbo c++ full screen?
How can you create a virtual copy constructor?