why and when we can declar member fuction as a private in
the class?


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

Post New Answer

More C++ General Interview Questions

Why isn't sizeof for a struct equal to the sum of sizeof of each member?

0 Answers  


What is a map in c++?

0 Answers  


Explain the difference between 'operator new' and the 'new' operator?

1 Answers   Lucent, TCS,


What is encapsulation in c++?

0 Answers  


What is the error in the code below and how should it be corrected?

0 Answers  






Describe functional overloading?

6 Answers   HP,


What is array in c++ example?

0 Answers  


pls help.. paper bills.. 1000, 500, 100, 50, 20, 10, 5, 1.. create a program that will count all the paper bills in the number being input.. example: enter a number: 3886 there is/are: 3 ->1000 1 ->500 3 ->100 1 ->50 1 ->20 1 ->10 1 ->5 1 ->1 example2: enter a number: 728 there is/are: 0 ->1000 1 ->500 2 ->100 0 ->50 1 ->20 0 ->10 1 ->5 3 ->1

4 Answers  


What are the basics concepts of OOPS?

1 Answers  


program to print this triangle * * * * * *

12 Answers   Infosys,


Which bit wise operator is suitable for checking whether a particular bit is on or off?

0 Answers  


What is private inheritance?

0 Answers  


Categories