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 / kakkar & kainth

=> c is procedural as well as structured language while c++
is procedural and object oriented.
=> c++ is an extension of c.
=> various i/o functions in c++ are performed using
iostream.h while in c it is done through stdio.h.
=>instead of scanf,cin>> is used in c++ and instead of
printf, cout<< is used in c++.
=>c is top down approach while c++ is bottom up approach.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by abstraction?

1024


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2260


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

6421


Is abstract thinking intelligence?

980


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

2050


any one please tell me the purpose of operator overloading

2339


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

6621


What exactly is polymorphism?

1073


What is protected in oop?

1010


What does oop mean in snapchat?

1153


What are the important components of cohesion?

968


What is polymorphism used for?

1015


What do you mean by Encapsulation?

1022


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2225


What are the three main types of variables?

1063