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
write a program to find the area under curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits a and b

write a C++ program that performs the following tasks 1. prompts the user to enter two numbers 2. displays the divisors of each number and store the divisors of number 1 in A and t

Write a program that writes your name on the monitor ten times. Write this program three times, once with each looping method.

C program to print L diagonal triangle: void main() {                 int i=0,j=0;                 int arr[rows][cols];                 for (i=0; i


Debug the following program to calculate N! #include using namespace std; main() {             int N, factorial=1;             cout             cin >> N;

Static Variables Static variables have the similar scope s automatic variables, but, unlike automatic variables, static variables retain their values over number of function ca

Addition in a existing c++ unification algorithm Project Description: I have a existing code for a algorithm and need to add two modules into it, it is a unification algorith

Aim: To implement a program for following string operations: Length of String. String Concatenation. Substring (provide start index and length) Find character a

Define the Logical Operators in c language? The Logical operators deals with the ways the relationships are able to connected. C has the following three logical operators