answersLogoWhite

0

Define protected in c plus plus?

User Avatar

Anonymous

13y ago
Updated: 8/18/2019

Protected members are like private members, but are also accessible to derived classes.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Define protected access modifire in c plus plus?

The access privileges in c++ are 1.public 2.private 3.protected and by default its private


How do you write a macro to find the biggest of 3 numbers in c plus plus?

#define biggest (a) > (b) && (a) > (c) ? (a) : (b) > (c) ? (b) : (c)


Is there a file concept in c plus plus?

No. The standard does not define nor require a file concept.


How do you find a largest algorithm in c plus plus?

#define max (a, b) ((a) >= (b)) ? (a) : (b)


If a plus b plus c not equal to 0 then a divided by b plus c equals b divided by c plus a equals c divided by a plus b prove that a equals b equals c?

Because there is no way to define the divisors, the equations cannot be evaluated.


What is friendly in c plus plus?

The keyword "friend" allows a function or variable to have access to a protected member inside a class.


What is message passing in c plus plus?

-define class with necessary data member & member function. -create object of that class. -communication.


How can a procedure be defined in C plus plus?

A procedure is simply a function in C++, therefore you define procedures just as you would any function. In some languages, a procedure is not a function as such, insofar as there is no return type. The C++ equivalent would therefore be a function that returns void.


What is b plus b plus b plus c plus c plus c plus c?

b+b+b+c+c+c+c =3b+4c


What is c plus c plus 2c plus c plus c equal?

c + c + 2c + c + c = 6c


What is the use of define key word in c?

Actually, the preprocessor is not part of the C compiler, but here you are: #define is meant to define symbols. Examples #define NULL ((void *)0) #define getchar() getc(stdin)


B plus b plus b plus c plus c plus c plus c equals?

b + b + b + c + c + c + c = 3b + 4c