Monday, 9 January 2017

Comparison between C and C++.

Tags

  1. C++ is super set of C language.
  2. C++ program can use existing C software libraries.
  3. C follows top down approach and C++ follows bottom up approach.
  4. C adopt procedure oriented language and C++ follows object oriented language as well as procedure oriented language.
  5. Both are middle level language.
  6. In C++ data is secured because of class uses different access specifier like private and protected and C only have public access specifier.
  7.  C does not have friend and virtual function but C++ supports friend and virtual function.