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 a virtual destructor?
Write a program which uses Command Line Arguments
what is the behaviour of C and C++ compiler for the below statements. int *p; p = malloc(100); Is the behaviour same ? or different ?
How can a '::' operator be used as unary operator?
What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?
Difference between delete and delete[]?
5 Answers Infosys, TCS, Virtusa,
How can you say that a template is better than a base class?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
What is setiosflags c++?
What is the best book for c++ beginners?
How can you quickly find the number of elements stored in a static array?
wap to accept 10 numbers & display the number of odd and even numbers??