Differentiate between a constructor and a destructor in c++.
No Answer is Posted For this Question
Be the First to Post Answer
what is the use of templates?
Write a program to show polymorphism in C++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
Is c++ the hardest programming language?
List the issue that the auto_ptr object handles?
What are proxy objects?
What is the difference between an external iterator and an internal iterator?
class Foo { const int x; protected: Foo(int f); ~Foo(); }; Foo f; Referring to the sample code above, why will the class declaration not compile? a) The variable x is const. b) The destructor is protected. c) The destructor is not public. d) The constructor is protected. e) There is no default constructor.
Why is main function important?
What is buffer and example?
What is a node class in c++?
Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).