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 the real time example of encapsulation?

1008


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2148


What is meant by multiple inheritance?

1184


Get me an image implementation program.

1941


What is class and example?

1093


What is object in oops?

1024


What is advantage of inheritance?

1131


What is abstraction with example?

1047


What is pointer in oop?

971


What is inheritance in oop?

985


What is polymorphism and types?

1043


when to use 'mutable' keyword and when to use 'const cast' in c++

2113


c++ program to swap the objects of two different classes

2360


What is coupling in oop?

971


Who invented oop?

1067