55. Difference between C and C++

Ø  In case of C, the data is not secured while the data is secured(hidden) in C++
Ø  C is a low-level language while C++ is a middle-level language
Ø  C is function-driven while C++ is object-driven
Ø  C++ supports function overloading while C does not
Ø  We can use functions inside structures in C++ but not in C.
Ø  The NAMESPACE feature in C++ is absent in case of C
Ø  The standard input & output functions differ in the two languages
Ø  C++ allows the use of reference variables while C does not

No comments:

Post a Comment

free counters