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

Is there anything you can do in C++ that you cannot do in C?

1 Answers  


what is the order of initialization for data?

10 Answers   Amazon, TCS, Wipro,


What are the advantages of inheritance in c++?

0 Answers  


Explain the extern storage classes in c++.

0 Answers  


What do you mean by enumerated data type?

0 Answers  


Which operations are permitted on pointers?

0 Answers  


Are there any special rules about inlining?

0 Answers  


In which memory a class gets stored(in heap /in stack)? And why??

2 Answers  


What is encapsulation in C++? Give an example.

0 Answers   HAL, Honeywell, Zomato,


What are c++ redistributables?

0 Answers  


What is namespace std; and what is consists of?

0 Answers  


What is the full name of logo?

0 Answers  


Categories