Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

I need a sort of an approximate strcmp routine?

0 Answers  


Write a program of prime number using recursion.

0 Answers   Aspiring Minds,


What does %p mean?

0 Answers  


What happens if header file is included twice?

0 Answers  


Explain what is #line used for?

0 Answers  


int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }

3 Answers  


fn f(x) { if(x<=0) return; else f(x-1)+x; }

5 Answers   HCL,


WHAT IS HIGH LEVEL LANGUAGE?

2 Answers  


what is the difference between call by value and call by reference?

5 Answers   Genpact, Global Logic, Infosys,


Method Overloading exist in c ?

3 Answers   Wipro,


what is the use of #pragma pack, wer it is used?

2 Answers   Wipro,


Explain bitwise shift operators?

0 Answers  


Categories