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 main difference between c and c++?

Answer Posted / vivek goyanr

In C memory allocation is done with malloc statement whereas
in C++ it is done through new keyword.Also memory is
deallocated in C using free statement while in C++
deallocation takes place through delete.

Is This Answer Correct ?    452 Yes 108 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of polymorphism?

1031


How to call a non virtual function in the derived class by using base class pointer

6562


write a C++ program for booking using constructor and destructor.

2542


Advantage and disadvantage of routing in telecom sector

1306


What exactly is polymorphism?

1127


What are the components of marker interface?

1055


What is the difference between a mixin and inheritance?

988


How do you achieve runtime polymorphism?

1047


What is coupling in oops?

1149


program for insertion ,deletion,sorting in double link list

2686


When not to use object oriented programming?

1106


What are two types of polymorphism?

1076


What are oops functions?

1018


Can abstract class have normal methods?

1050


What is object in oop with example?

1238