- C++ is super set of C language.
- C++ program can use existing C software libraries.
- C follows top down approach and C++ follows bottom up approach.
- C adopt procedure oriented language and C++ follows object oriented language as well as procedure oriented language.
- Both are middle level language.
- In C++ data is secured because of class uses different access specifier like private and protected and C only have public access specifier.
- C does not have friend and virtual function but C++ supports friend and virtual function.
Monday, 9 January 2017
Comparison between C and C++.
Artikel Terkait
Post a Comment
Subscribe to:
Post Comments (Atom)