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 preprocessor directives in c?
What is spaghetti programming?
Can you write the algorithm for Queue?
Why isn't any of this standardized in c? Any real program has to do some of these things.
how to execute a program using if else condition and the output should enter number and the number is odd only...
What are identifiers and keywords in c?
Explain built-in function?
What 'lex' does?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Explain how does free() know explain how much memory to release?
What is structure pointer in c?
List some of the static data structures in C?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is string constants?