Write about the access privileges in c++ and also mention about its default access level?
Answer / Nikhil Verma
In C++, access levels define how external entities can interact with class members. There are three levels: `public`, `private`, and `protected`. By default, all members of a class are private if no access level is specified.n Example: `class MyClass { private: int myPrivateVariable; };`
| Is This Answer Correct ? | 0 Yes | 0 No |
Implement strcmp
You want to link a c++ program to c functions. How would you do it?
can anybody please tell me how to write a program in c++,without using semicolon(;)
Which function cannot be overloaded c++?
What is namespace std; and what is consists of?
Can member data be public?
What is time_t c++?
Why can templates only be implemented in the header file?
Const char *p , char const *p What is the difference between the above two?
Explain the difference between c++ and java.
Do inline functions improve performance?
What are keywords in c++?