Answer Posted / 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 |
Post New Answer View All Answers
Is it possible to provide default values while overloading a binary operator?
What are the rules about using an underscore in a c++ identifier?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
What do you mean by friend class & friend function in c++?
Why do we use constructor?
What is a local variable?
What are function prototypes?
what is pre-processor in C++?
Write a program to find the reverse Fibonacci series starting from N.
What is the v-ptr?
How long will it take to learn programming?
Can a list of string be stored within a two dimensional array?
How do you write a function that can reverse a linked-list?
What is the use of endl in c++?