What is the difference between public, private, protected
inheritance?
Answer Posted / vivek kumar kaushal
Public: this is member function of its own and anyother
class.
Private: Class member access within its class.
Protected:this is member function to its own and derived
class.
Is This Answer Correct ? | 34 Yes | 5 No |
Post New Answer View All Answers
Can malloc be used in c++?
Define pointers?
What are pointer-to-members? Explain.
Why do we need templates?
What is buffering in c++?
What is the use of 'using' declaration in c++?
What is difference between n and endl in c++?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
What is the use of seekg in c++?
What is the size of a vector?
How long it will take to learn c++?
Which of the following is evaluated first: a) && b) || c) !
What is data type in c++?
What is const pointer and const reference?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.