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 the difference between new() and malloc()?

Answer Posted / nashiinformaticssolutions

o new initializes the object and calls its constructor.
o malloc allocates memory but does not call constructors.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain polymorphism?

1079


Can comments be longer than one line?

1077


What is an adaptor class in c++?

1197


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1097


What kind of jobs can I get with c++?

1116


Is c++ vector dynamic?

1130


What will the line of code below print out and why?

742


What is pointer in c++ with example?

1075


What is std namespace in c++?

1186


What is #include cstdlib in c++?

1188


How can I improve my c++ skills?

1137


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

1033


Why was c++ made?

1108


What are register variables?

1154


How to tokenize a string in c++?

1062