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 / gaurav jatwani

in c we use modifiers for scanf and printf
in c++ we don't use any modifiers

in c we have no protected access specifier
in c++ we have


in c we have no constructor and distructor
in c++ we have constructor and distructor

in c we cann't delcare variables any where
in c++ we can declare variables any where


in we have no INLINE AND FRIEND function
in c++ we have both


in c we use & operator in scanf for storing value in
variable ex:- ( scanf("%d",&age); )
in c++ we need not to use any operator to store value in
variables

GAURAV JATWANI

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pure oop?

1105


Why is abstraction used?

1091


What is destructor example?

1044


Why interface is used?

1018


How many human genes are polymorphic?

1064


What causes polymorphism?

1133


What is class and object in oops?

1143


any one please tell me the purpose of operator overloading

2399


What is basic concept of oop?

1167


What is destructor oops?

1092


What is difference between multiple inheritance and multilevel inheritance?

1148


What is methods in oop?

979


What is oops with example?

1049


What do you mean by abstraction?

1070


What is advantage of inheritance?

1174