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 |
How do pointers work?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is the function to call to turn an ascii string into a long?
How would you differentiate between a pre and post increment operators while overloading?
What are the 4 types of library?
Is c++ a high level language?
Why do we use pointers in c++?
Out of fgets() and gets() which function is safe to use and why?
What is a try block?
What is the difference between a template and a macro?
What are the advantages of C++ programming compared to C programming?
Can a built-in function be recursive?