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

Define copy constructor.

0 Answers  


Why cout is used in c++?

0 Answers  


What is object oriented programming (oop)?

0 Answers  


Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)

4 Answers   HTC, TCS,


What is virtual methods?

0 Answers  






what is data Abstraction? and give example

147 Answers   Aaditya Info Solutions, American Express, CMS, College School Exams Tests, Data Entry Operator, First Advantage, Google, HCL, IBM, Infosys, Microsoft, Mind Links, NIIT, Oracle, Pact, QBit Systems, TCS, WAYA, Wipro,


What is the meaning of c++?

0 Answers  


Write a code/algo to find the frequency of each element in an array?

0 Answers   Axtria,


What is the difference between multiple and multilevel inheritance in c++?

0 Answers  


What is a tree in c++?

0 Answers  


Is there any problem with the following: char *a=NULL; char& p = *a;?

1 Answers  


What do you mean by volatile and mutable keywords used in c++?

0 Answers  


Categories