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 / praveen kumar maande

To simply say c with classes is called as c++.c does not support classes, where as c++ is mainly designed to support data security which can be achieved using classes.one more difference is c++ supports exception handling which c does not support.we can access both local and global variables if the are defined by same name using scope resolution operator in the same scope itself where as c doesn't support this.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why interface is used?

1018


What does <> mean pseudocode?

1192


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2157


What do you mean by abstraction?

1070


What is destructor oops?

1092


What is difference between inheritance and polymorphism?

1028


Can a destructor be called directly?

1076


Why do we use polymorphism in oops?

1044


Can you explain polymorphism?

1113


What is data binding in oops?

1096


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

4745


What is interface? When and where is it used?

2166


What is inheritance in oop?

1034


How to use CMutex, CSemaphore in VC++ MFC

4783


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2143