Describe private, protected and public – the differences and give examples.
No Answer is Posted For this Question
Be the First to Post Answer
How to avoid changing constant values?
When should we use multiple inheritance?
Implement a 2 dimensional array by one dimentional array
What is a static member?
Why can you not make a constructor as const?
Can we make copy constructor private in c++?
What is the use of data hiding?
Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator
2 Answers HCL, Lehman Brothers, Zoomerang,
Using a smart pointer can we iterate through a container?
Why can’t you call invariants() as the first line of your constructor?
What is a modifier in c++?
Is it possible to have a recursive inline function in c++?