Default constructor, C/C++ Programming

What is default constructor? explain it.

Posted Date: 2/12/2013 6:28:00 AM | Location : United States





Constructor with no arguments or all the arguments has default values.

Posted by Aliena | Posted Date: 2/12/2013 6:29:49 AM


Related Discussions:- Default constructor, Assignment Help, Ask Question on Default constructor, Get Answer, Expert's Help, Default constructor Discussions

Write discussion on Default constructor
Your posts are moderated
Related Questions
Define Functions with arguments and return values? The earlier category functions receive values from the calling function through arguments but do not send back any value rath

Asks the user for an integer. if the number is less than 21, ask them for a number again; repeat this until you get a number bigger than 20. 20 is not an acceptable number. Once yo

The zipped folder int_collection.zip (downloaded from Blackboard) contains an abstract class AbstractIntCollection and two interfaces: IntList and IntStack. The abstract class cont

Charity Ball Organizer Many charities support good causes, but one of the difficulties each of them has is organizing their fundraising events. After nearly a semester of C progra

What are header files? What are their uses? - Header files are also known as library files. - They carry two significant things: definitions and prototypes of functions bein

A: In C, encapsulation was completed by making things static in a compilation unit or module. It prevented another module from accessing the static stuff. (Incidentally, now static

Charity Ball Organizer Many charities support good causes, but one of the difficulties each of them has is organizing their fundraising events. After nearly a semester of C pro

Define hash functions. Explain the Division method, Mid square method and Folding method of hash functions.


P o i n t e r d e c l a r a t i o n f o r d a t a m e m b e r : M e t h o d 1 : i n t M : : * p x ; / / T h i s