What do you mean by C++ access specifiers ?
Access specifiers define how the members (attributes and methods) of a class can be accessed. ... 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 |
What are the restrictions apply to constructors and destructors?
Why namespace is used in c++?
What is anonymous object in c++?
How do you sort a sort function in c++ to sort in descending order?
What is scope in c++ with example?
const char * char * const What is the differnce between the above two?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Can you think of a situation where your program would crash without reaching the breakball, which you set at the beginning of main()?
How to declaring variables in c++?
Differentiate between C and C++.
Define private, protected and public access control.
What is implicit pointer in c++?