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 command line arguments in C++? What are its uses? Where we have to use this?
Define precondition and post-condition to a member function?
Explain some examples of operator overloading?
Which software is best for programming?
What sorting algorithm does c++ use?
What is scope in c++ with example?
the maximum length of a character constant can be a) 2 b) 1 c) 8
Why is c++ awesome?
Explain selection sorting. Also write an example.
How come you find out if a linked-list is a cycle or not?
What are the basics of local (auto) objects?
What is a constructor initializer list and when we use constructor initializer list?