Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?
Answer Posted / vijaykumar
When constructor public c(string a) is called to construct
an object, it first calls the default constructor then the
initialisation procedures in public c(string a).
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is data structure in c programming?
If the size of int data type is two bytes, what is the range of signed int data type?
How pointers are declared?
What is null in c?
Why c is procedure oriented?
why programs in c are running with out #include
Why do we need arrays in c?
What is the difference between a function and a method in c?
Does c have class?
Explain modulus operator. What are the restrictions of a modulus operator?
What is pointer and structure in c?
How can I discover how many arguments a function was actually called with?
What is the size of array float a(10)?
What is the difference between void main and main in c?
Are pointers integers in c?