What is the difference between public, private, protected
inheritance?
Answer Posted / vivek kumar kaushal
Public: this is member function of its own and anyother
class.
Private: Class member access within its class.
Protected:this is member function to its own and derived
class.
| Is This Answer Correct ? | 34 Yes | 5 No |
Post New Answer View All Answers
How does work in c++?
What is c++ 11 and c++ 14?
Is empty stack c++?
Why is c++ is better than c?
what is the difference between overloading & overriding? give example.
What is near, far and huge pointers? How many bytes are occupied by them?
Why we use #include iostream in c++?
What is the full name of logo?
What is the difference between function overloading and operator overloading?
Differentiate between an array and a list?
What is a wchar_t in c++?
Explain the concept of copy constructor?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What is data binding in c++?
Write a program using display() function which takes two arguments.