What are access specifiers in C++?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
• Private: Members are accessible only within the class.
• Protected: Accessible within the class and derived classes.
• Public: Accessible from outside the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a tree in c++?
what is pulse code modulation?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
How does list r; differs from list r();?
What is virtual destructor? What is its use?
what do you mean by volatile variable?
Why can you not make a constructor as const?
What are dynamic type checking?
What is scope resolution operator in c++ with example?
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
let a,b,c be three integer numbers.write a c++ program with a function void rotate 1()such that a->b->c and c->a.
Write a program using merge () function to combine the elements of array x[ ] and y[ ] into array z[ ].