What is the purpose of a constructor? Destructor?


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

Post New Answer

More C++ Interview Questions

Write a C++ Program to find Addition of Two Numbers.

1 Answers  


What does malloc return in C and C++?

0 Answers   Alter,


Discuss about iteration statements in C++ .

0 Answers   Agilent,


What is a COPY CONSTRUCTOR and when is it called?

0 Answers   IBS,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,






What is meant by exit controlled loop?

0 Answers   Adobe,


What are the different scope C++ provide ?

0 Answers   Amdocs,


Explain the difference between C and C++.

0 Answers   Accenture,


Write a C++ program to print strings in reverse order.

0 Answers   Amdocs,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


What is placement new?

1 Answers   Amazon,


Is there a difference between class and struct?

0 Answers  


Categories