Describe private, protected and public – the differences and give examples.
No Answer is Posted For this Question
Be the First to Post Answer
What is the disadvantage of using a macro?
What are the implicit member functions of class?
How should a contructor handle a failure?
What are the two types of polymorphism?
What are proxy objects?
Write about an iterator class?
What's the order in which the local objects are destructed?
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,
How does work in c++?
Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?
What is the role of copy constructor in copying of thrown objects?
write a porgram in c++ that reads an integer and print the biggest digit in the number