How is c is different from c++

  • C is a original procedure oriented programming language and c++ is a object oriented programming language
  • In c it emphasis an writing the function which performs same specific task .but in c++ it emphasis an object writing the objects which perform some specific task
  • In c ,it does not support polymorphism and inheritance but in c++  it supports polymorphism and inheritance
  • In c programs it runs faster compared to c++ programs 
  • In c code management is very difficult but in c++ we can easily manage.
  • In c function definition and declaration are not allowed within structure definition but in c++ function definition and declaration is allowed in within a structure
  • So c ++  is different from c
Posted on by