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
Are comments included during the compilation stage and placed in the EXE file as well?
How can you invoke another program from within a C program?
Can I initialize unions?
Why is c still so popular?
What are conditional operators in C?
Is that possible to add pointers to each other?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain how can you determine the size of an allocated portion of memory?
What is the return type of sizeof?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
How reliable are floating-point comparisons?
What is the difference between void main and main in c?
what is bit rate & baud rate? plz give wave forms
What is scanf_s in c?
How can I delete a file?