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...

Can a constructor return a value?

Answer Posted / nashiinformaticssolutions

It is possible for a constructor to return a value. A constructor cannot explicitly return a value; instead, it implicitly replaces the current instance of the class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write about the retrieval of n number of objects during the process of delete[]p?

1022


Is there any difference between int [] a and int a [] in c++?

1023


Can notepad ++ run c++?

1087


which of the following is not an secondary constant a) array b) real c) union

1806


What is the difference between a reference and a pointer?

1121


What is &x in c++?

1003


What is the use of volatile variable?

1087


Can you please explain the difference between static and dynamic binding of functions?

1033


List the features of oops in c++?

1052


Why is c++ still popular?

1054


How does the copy constructor differ from the assignment operator (=)?

1150


What is ios class in c++?

1117


What are the effects after calling the delete this operator ?

1058


Why do we use setw in c++?

1115


What is abstraction with real time example?

1152