Differentiate between a constructor and a destructor in c++.


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

Post New Answer

More C++ General Interview Questions

difference between macro and function?

3 Answers  


What is a list c++?

0 Answers  


What is & in c++ function?

0 Answers  


Does c++ have finally?

0 Answers  


How would you use the functions sin(), pow(), sqrt()?

0 Answers  






What do nonglobal variables default to a) auto b) register c) static

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

0 Answers  


Do the names of parameters have to agree in the prototype, definition, and call to the function?

0 Answers  


Is c++ vector dynamic?

0 Answers  


What is a class template?

0 Answers  


Categories