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

the difference between new and malloc

Answer Posted / pushpankar mishra

malloc need type casting where as the new operator does not
require this incase if it is character type then char* is
needed in malloc where as for new we do not need this

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is this job good for future? can do this job post grduate student?

2092


Why multiple inheritance is not possible?

1015


How do you achieve polymorphism?

1036


What is constructor overloading in oop?

1072


What are the components of marker interface?

996


why reinterpret cast is considered dangerous?

2334


What does <> mean pseudocode?

1111


What are the three main types of variables?

1062


Where is pseudocode used?

1028


• What are the desirable attributes for memory managment?

2165


What is overriding vs overloading?

1004


Can private class be inherited?

1115


Why do we use polymorphism in oops?

981


What is meant by multiple inheritance?

1177


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6620