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 / aparna

C is a procedural language,but C++ is a object oriented
language.C does not support the operator overloading,but C++
support the operator overloading.In C memory allocation is
done with "malloc" statement.In C++ memory allocation is
done with "new" statement.In c memory deallocation is done
with "free" statement.In C++ memory deallocation is done
with "delete" statement.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

2539


Why do we use inheritance?

1115


Can abstract class have normal methods?

1046


What are objects in oop?

1100


explain sub-type and sub class? atleast u have differ it into 4 points?

2314


What is persistence in oop?

1140


Which is not an object oriented programming language?

983


What is polymorphism and why is it important?

1041


Why do while loop is used?

1031


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4744


What is encapsulation and abstraction? How are they implemented in C++?

1134


what is difference between class template and template class?

2658


is there any choice in opting subjects like 4 out of 7

2169


What is data binding in oops?

1091


Write a program to reverse a string using recursive function?

2339