What is a constructor in c++ with example?


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

Post New Answer

More C++ General Interview Questions

What are the main characteristics of C++ as a programming language?

1 Answers  


Difference between overloading vs. Overriding

0 Answers  


Explain the uses oof nested class?

0 Answers  


What is the use of setprecision in c++?

0 Answers  


what Is DCS ? what i will get benefit when i did?

0 Answers  






What are advantages of using friend classes?

0 Answers  


What is a c++ class?

0 Answers  


What is a conversion constructor?

1 Answers  


Describe private, protected and public?

0 Answers  


What is a 'pure' virtual function and what's its use?

1 Answers  


What would happen on forgetting [], while deallocating an array through new?

0 Answers  


Explain stack & heap objects?

0 Answers  


Categories