What are the c++ access specifiers?
In C++, there are three access specifiers: public - members are accessible from outside the class. private - members cannot be accessed (or viewed) from outside the class. protected - members cannot be accessed from outside the class, however, they can be accessed in inherited classes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is static in c++?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What is a static member?
If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?
What are advantages of c++?
How do you decide which integer type to use?
What is a constructor in c++ with example?
Is it possible for the objects to read and write themselves?
What are function poinetrs? where are they used?
How do I tokenize a string in c++?
Shall we use 'free' to free memory assigned by new, What are the further consequences??
write a program in c++ to implement stack using functions in header file stack.h