What are the differences between public, private, and
protected access?
Answer Posted / alka choubey
public:class members are access from the outside the class.
private:class members are access only within the class.
protected:class members can access inside the same package.
Is This Answer Correct ? | 29 Yes | 13 No |
Post New Answer View All Answers
Write a Program to find the largest of 4 no using macros.
List the issue that the auto_ptr object handles?
What is a multimap c++?
How does c++ sort work?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
Program to check whether a word is a sub-string or not of a string typed
What is an operator function? Describe the function of an operator function?
Can we use clrscr in c++?
Why do we need runtime polymorphism in c++?
Write a program to find the Fibonacci series recursively.
How do you invoke a base member function from a derived class in which you’ve overridden that function?
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.
What are c++ tokens?
Do you know the problem with overriding functions?
What are the 4 types of library?