How can we access protected and private members of a class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

When do you call copy constructors?

0 Answers  


How many ways can a variable be initialized into in C++?

0 Answers   HCL,


What is the main purpose of overloading operators?

0 Answers  


What is the difference between method overloading and method overriding in c++?

0 Answers  


What is static class data?

0 Answers  






What is c++ coding?

0 Answers  


What is a built-in function?

1 Answers  


Why is main function important?

0 Answers  


what is a class? Explain with an example.

0 Answers  


What is the difference between operator new and the new operator?

3 Answers   Amazon, TCS, Wipro,


Can a built-in function be recursive?

0 Answers  


Comment on assignment operator in c++.

0 Answers  


Categories