+ 9
What is the difference between C++ and C?
Difference
19 ответов
+ 15
Nelly Derzyan Next time, try using the search bar to find the answer.
Thanks!
For search bar
https://www.sololearn.com/post/10362/?ref=app
https://www.sololearn.com/discuss/76532/?ref=app
https://www.sololearn.com/discuss/1922733/?ref=app
https://www.sololearn.com/discuss/52835/?ref=app
https://www.sololearn.com/discuss/1834501/?ref=app
+ 9
Nelly Derzyan Just a scam who is too much popular
+ 8
The basic difference is C doesn't have ++ and other has it😆
+ 8
Nelly Derzyan Sorry i didn't mean to spoil the technical mood😁 But thats wht i consider 😝
+ 8
Nelly Derzyan used a translator 🤣 i give up!!
+ 8
Nelly Derzyan thats y i dont bliv in google it translated *nothing*😂
+ 7
Nelly Derzyan я прошу прощения
Ցավում եմ
Gomain na sai😅
+ 7
Nelly Derzyan aha we r pebbles in comparison
+ 5
Khalid Shaikh creative answer 😂😂
+ 5
Khalid Shaikh U spoiled😂😂
+ 5
Khalid Shaikh ոչինչ😁
+ 5
Guys that's not the difference the is actually a big difference 😉
+ 5
Khalid Shaikh popular than us😭😂
+ 4
C++ is a morden c with better features just like how the is iPhone 11 ( c) then the is a modern iPhone 11 pro(c++) but if you are choosing between the two go for c++ cause it's the future hope it helps 😁
+ 4
Khalid Shaikh i said nevermind 😂in Armenian language
+ 4
Khalid Shaikh 🤦🏻♀️😂Google is dumb
+ 1
I've provide you alot of answers of this ques.
+ 1
https://www.sololearn.com/discuss/23328/?ref=app
https://www.sololearn.com/discuss/207234/?ref=app
https://www.sololearn.com/discuss/1697531/?ref=app
https://www.sololearn.com/discuss/52835/?ref=app
https://www.sololearn.com/discuss/1823806/?ref=app
https://www.sololearn.com/discuss/48166/?ref=app
https://www.sololearn.com/discuss/159013/?ref=app
0
hello,
C++ can be said a extension of C. Mainly added features in C++ are Object Oriented Programming, Exception Handling and Richer Library.
C:
C was developed by Dennis Ritchie between the year 1969 and 1973 at AT&T Bell Labs.
C does no support polymorphism, encapsulation, and inheritance which means that C does not support object oriented programming.
C contains 32 keywords.
For the development of code, C supports procedural programming.
Data and functions are separated in C because it is a procedural programming language.
C is a subset of C++.
C does not support information hiding.
Built-in data types is supported in C.
Header file used by C is stdio.h.
Reference variables are not supported by C.
C does not support inheritance.
C++
C++ was developed by Bjarne Stroustrup in 1979.
C++ supports polymorphism, encapsulation, and inheritance because it is an object oriented programming language.
C++ is a superset of C. C codes can be run by C++ but C cannot run the C++ codes.
C++ is known as hybrid language because C++ supports both procedural and object oriented programming paradigms.
Data and functions are encapsulated together in form of an object in C++.
Data is hidden by the Encapsulation to ensure that data structures and operators are used as intended.
Built-in & user-defined data types is supported in C++.
C++ is an object driven language because it is an object oriented programming.
Function and operator overloading is supported by C++..
Header file used by C++ is iostream.h.
Reference variables are supported by C++.
Virtual and friend functions are supported by C++.
C++ supports inheritance.
i hope this will help to you