• Animal
  • Auto
  • Computers
  • Education
  • Finance
  • Health
  • Math
  • Mobiles
  • Programming
  • Science
  • Sports
  • Technology
  • Terms
  • Web


  • Difference Between C and C++

    C vs C++

    Everybody in the IT world knows about C and C++. Both are Computer Languages. C and C++. C++ was born after C language, C++ is a super set of C. Both languages have lots of differences between them. But, I am listing out the 10 Main Difference Between C and C++ languages

    Difference Between C and C++

    C Language

    1. C Language is not an object oriented language.
    2. C is a procedural programming language.
    3. supports only Structures.
    4. does not have reference variable, only supports pointers.
    5. uses Scanf and Printf for input and output functions.
    6. functions can’t be included in structures.
    7. regarded as a low-level language.
    8. doesn’t support inline functions, instead can be used via #define directive.
    9. uses the top-down approach.
    10. C is function driven.

    C++ Language

    1. C Language is a object oriented language (includes 4 OOPs concepts).
    2. C++ is not a procedural programming language.
    3. supports Classes and Objects.
    4. supports both reference and pointer variables.
    5. uses cin>> and cout<< for input and output functions.
    6. functions can be included in structures.
    7. regarded as mix of low-level and high-level language.
    8. supports inline functions.
    9. uses the bottom-up approach.
    10. C++ is Object driven.

    I admit there can be ‘n’ number of differences, But I have mentioned only the important Difference between C language and C++ language.

    You are most welcome to add your own differences below by leaving a comment. If I feel that they are more important, I will be happy to change in the above post!

    Posted under: Programming
    1957 readers are already subscribed to this blog! Why don't you be one of them? Subscribe to this blog via your favorite RSS feed reader or by entering your email address on the form below:








    6 Comments

    1. With C, you usually program in a straightforward way, while with C++, you use a lot of abstractions until your original intention is hardly recognizable.

    2. Mr.Rao says:

      u have given needful information for me

    3. priyanka says:

      thanku so much…it’s very helpful.

    Leave a Reply

    page counter
    NiharsWorld on Twitter NiharsWorld on Facebook NiharsWorld RSS Feed