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

What is Copy Constructor?

Answer Posted / sanjay gupta

COPY CONSTRUCTOR IS A SPECIAL CONSTRUCTOR IN C++ PROGRAMMIN
LANGUAGE FOR CREATING A NEW OBJECT AS A COPY OF AN EXISTING
OBJECT

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are register variables?

1152


What is a loop? What are different types of loops in c++?

1132


what are the iterator and generic algorithms.

2169


What is ios :: in in c++?

1069


Which sort does c++ use?

1019


What is the difference between a definition and a declaration?

1071


can any one help to find a specific string between html tags which is changed to a sting.. weather.html looks (for location) is somewhere #include #include #include using namespace std; string find_field(string myPage,string); int main (void) { string page, line, location, temperature; ifstream inputFile("weather.xml"); while(getline(inputFile, line)) { page.append(line); line.erase(); } // Now page is a string that contains the whole xml page // Here you need to write something that finds and // extracts location and temperature from the XML // data in the string page and stores them in // the strings location and temperature respectively location=find_field(page,"location"); temperature=find_field(page,"temp_c"); cout << "Location: "<

2056


What do you mean by persistent and non persistent objects?

1435


What is near, far and huge pointers? How many bytes are occupied by them?

1119


What does #define mean in c++?

1271


What is polymorphism explain?

1255


Are php strings immutable?

1053


Explain the advantages of inheritance.

1149


How can you overcome the diamond problem in inheritance?

1184


Can we make copy constructor private in c++?

1058