What is basic difference between c and c++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is basic difference between c and c++?

17th Aug 2016, 2:25 PM
kamran javaid
kamran javaid - avatar
7 Answers
+ 2
The programming paradigm. C is considered a functional programming language, C++ is actually multi-paradigm as it not only supports functional programming, it also supports object orientated programming, templates etc.
17th Aug 2016, 2:49 PM
Stefan
Stefan - avatar
+ 1
c is a procedural oriented language c++ is a object oriented language
18th Aug 2016, 10:21 AM
Aman Ankur
Aman Ankur - avatar
0
thanks
17th Aug 2016, 3:01 PM
kamran javaid
kamran javaid - avatar
0
No prob :-)
17th Aug 2016, 3:29 PM
Stefan
Stefan - avatar
0
c ++ is especially design for classes in which private public and protected types are declare wheareas in c nothing (public private protected)
18th Aug 2016, 10:20 AM
Aman Ankur
Aman Ankur - avatar
- 1
c is used in printf and scanf.... and c++ is used in cout and cin.. hope u got it
17th Aug 2016, 6:34 PM
sourav jaiswal
sourav jaiswal - avatar
- 1
c is a top to bottom procedural oriented programming language while c++ is a bottom to top object oriented programming language
21st Aug 2016, 7:11 PM
Pete yiese
Pete yiese - avatar