Ask a Teacher



what is the different between c&c++

C is Procedural Language.
C++ is non Procedural i.e Object oriented Language.

No virtual Functions are present in C
The concept of virtual Functions are used in C++.

In C, Polymorphism is not possible.
The concept of polymorphism is used in C++.

Operator overloading is not possible in C.
 Operator overloading is one of the greatest Feature of C++.

No namespace Feature is present in C Language.
Namespace Feature is present in C++ for avoiding Name collision.

In C
  • scanf() Function used for Input.
  • printf() Function used for output.

In C++
  • Cin>> Function used for Input.
  • Cout<< Function used for output.


comments powered by Disqus