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

What is this pointer in oop?

1021


Why do we use oop?

1049


What causes polymorphism?

1074


Why do while loop is used?

989


What is encapsulation example?

989


Can we override main method?

1141


Whats is abstraction in oops?

1030


What are the 4 main oop principles?

1183


What is coupling in oop?

979


What is the purpose of enum?

971


write string class as your own class in java without using any built-in function

2458


What is class encapsulation?

1035


What is abstraction in oops with example?

1227


write a program that takes input in digits and display the result in words from 1 to 1000

2378


What is overriding in oop?

1002