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 do the keywords volatile and mean mutable?

0 Answers  


What is the best sorting algorithm, when there is a large amount of data, that cannot be fit in the main memory. ?

1 Answers   Yahoo,


What is public, protected, private in c++?

0 Answers  


Explain linked list using c++ with an example?

0 Answers  


How to write Multithreaded applications using C++?

2 Answers   Honeywell, TCS, Wipro,


What is a container class? What are the types of container classes in c++?

0 Answers  


Does c++ support exception handling?

0 Answers  


What is difference between malloc()/free() and new/delete?

0 Answers  


Can a function take variable length arguments, if yes, how?

0 Answers  


How to avoid changing constant values?

2 Answers   Symphony,


Find the second maximum in an array?

12 Answers   HCL,


Explain the difference between class and struct in c++?

0 Answers  


Categories