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 |
How can I improve my c++ skills?
What is the difference between the functions rand(), random(), srand() and randomize()?
Implement strcmp
What are the total number of lines written by you in C/C++? What is the most complicated or valuable program written in C/C++?
Explain queue. How it can be implemented?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What is the difference between a pointer and a link in c ++?
What are the characteristics of friend functions?
What is the full name of logo?
What is c++ used for in games?
What methods can be overridden in java?
What is data binding in c++?