C Vs C++
C Vs C++
S.
C C++
No.
C is a structural or procedural programming C++ is an object oriented programming
language. language.
1
Emphasis is on procedure or steps to solve
Emphasis is on objects rather than procedure.
any problem.
2
Functions are the fundamental building
Objects are the fundamental building blocks.
blocks.
3
Data is hidden and can’t be accessed by
In C, the data is not secured.
external functions.
4
main() does not return any value main() returns integer value
18.