What are the three types of access specifiers in C++?
Answer / nashiinformaticssolutions
1. Public: Every student in the class is reachable from anywhere within the application.
2. Private: Only member functions within the class have access to class members.
3. Protected: Any subclass of the class or the member functions within the class can access class members.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
Tell me difference between constant pointer and pointer to a constant.
Can I learn c++ without learning c?
What is the best c++ compiler for windows 10?
What's c++ used for?
Discussion on error handling of C++ .
Declare a class vehicle and make it an abstract data type.
What is Memory Alignment?
simple c++ program for "abcde123ba" convert "ab321edcba" with out using string
Which one between if-else and switch is more efficient?
What is near, far and huge pointers? How many bytes are occupied by them?