What is a Default constructor?
Answer / munendra kumar
A constructor that has no arguments.
If you don't code one, the compiler provides one if there are no other constructors. If you are going to instantiate an array of objects of the class, the class must have a default constructor.
Is This Answer Correct ? | 0 Yes | 0 No |
what is the size of a class which contains no member variables but has two objects??? is it 1 or 2??
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
What are references in c++? What is a local reference?
What is std namespace in c++?
What are the advantages of early binding?
What is class syntax c++?
What is the identity function in c++? How is it useful?
Write a program in C++ for Fibonacci series
0 Answers Axtria, ITC Indian Tobacco Company,
What are the main features of c++?
program in c++ to input digits and print in words
What is a vector c++?
What is a sequence in c++?