Answer Posted / hrpynux@gmail.com
In C++, there are three access specifiers: public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is size of string in c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What happens when the extern "c" char func (char*,waste) executes?
What is this pointer in c++?
Which programming language's unsatisfactory performance led to the discovery of c++?
What is static function? Explain with an example
Is c++ built on c?
Explain "const" reference arguments in function?
When should we use container classes instead of arrays?
Explain how an exception handler is defined and invoked in a Program.
What is setfill c++?
Differentiate between a pointer and a reference with respect to c++.
What are the stages in the development cycle?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
How does c++ sort work?