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 are the advantages of using Unions?
can we implement multi-threads in c.
Is c procedural or functional?
What is difference between constant pointer and constant variable?
Is Exception handling possible in c language?
What is the difference between far and near ?
What does #pragma once mean?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Is linux written in c?
What is the right way to use errno?
What is your stream meaning?
What header files do I need in order to define the standard library functions I use?
Explain c preprocessor?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
How can I manipulate strings of multibyte characters?