What is the difference between C& C++

What is the difference between C& C++

What is the difference between C& C++


                    C++ as the name, is a suggests,  is a supersets of C. As a matter of fact, C++ can run     must of C code while C cannot run C++ code. Here are the 10 major difference between C++ & C.
           1)      1-C Follows procedural programming paradigm while C++ is a multi-paradigm language   (procedural as well as object oriented).
           2)      In case of C, the data is not secured while the data is secured (Hidden) in C++.
       3)      C is a low-level language while C++ is a middle-level language (Relatively, please see the discussion at the end of the post).
           4)      C uses the top-down approach while C++ use the bottom-up approach.
           5)      C is function-driven while C++ is object-driven.
           6)      C++ Supports function overloading while C does not.
           7)      We can use functions inside structure in C++ but not in C.
           8)      The namespace feature in C++ is absent in case of C.
           9)      The standard input & output function and differ in the two languages.
      10)  C++ allows the use of reference variable while C does not.    
 

Image result for difference between C & C++
What is the difference between C& C++



Post a Comment

1 Comments