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 the scope of static variable in c?
Explain what is the benefit of using #define to declare a constant?
What is modifier & how many types of modifiers available in c?
What is the symbol indicated the c-preprocessor?
Is file a keyword in c?
What is the equivalent code of the following statement in WHILE LOOP format?
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What is the difference between mpi and openmp?
What is dynamic dispatch in c++?
how many errors in c explain deply
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
write a proram to reverse the string using switch case?
Describe newline escape sequence with a sample program?
How to declare pointer variables?
What is 1f in c?