Explain what?s happening in the first constructor: public
class c{ public c(string a) : this() {;}; public c() {;} }
How is this construct useful?



Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;};..

Answer / 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

More C Interview Questions

Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

0 Answers  


what does ‘Bus Error’ mean?

1 Answers   ABC,


How does the assert() function work?

2 Answers  


Define VARIABLE?

0 Answers   ADP,


Write a program with dynamically allocation of variable.

0 Answers   Atos Origin,


which do you prefer C or Pascal?

1 Answers  


Write a program that his output 1 12 123

0 Answers  


What does double pointer mean in c?

0 Answers  


What is static memory allocation?

0 Answers  


The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none

0 Answers  


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2 Answers   Subex, Wipro,


What is a structure member in c?

0 Answers  


Categories