C and C++ are high end
programming languages used by the end users to give instructions to the machine
to do the necessary or required task without learning the machine level
language.
These
languages can be coded using the some software application like Turbo C and
Turbo C++. 
These
software tools use a tool called compiler which is used to convert the high
level language to machine level language. 
These
high level languages are converted to machine language which is the only
language that the machine can understand to process the information. 
| 
   
C 
 | 
  
   
C++ 
 | 
 
| 
   
It
  was developed by Dennis Ritchie. 
 | 
  
   
It
  was developed by Bjarne Stroustrup  
 | 
 
| 
   
It
  is a structure programming language. 
 | 
  
   
It
  is an object oriented programming language. 
 | 
 
| 
   
If a
  problem is given in C, it divides the problem into multiple modules such as
  functions and procedures and then solves the problem.  
 | 
  
   
If a
  problem is given in C++, it uses data binding and encapsulation techniques to
  solve the problem. 
 | 
 
| 
   
Scanf
  and Printf are the input and output function used respectively in C. 
 | 
  
   
Cin
  and Cout are the two different functions used for input and output in C++. 
 | 
 
| 
   
Error
  handling is not done in C language.  
 | 
  
   
Error
  handling is done in C++.  
 | 
 
| 
   
Stdio.h
  is the header file used to incorporate the input and output function in C
  language. 
 | 
  
   
Iostream.h
  is the header file used in the C++ language to incorporate the input and
  output function. 
 | 
 
| 
   
There
  is no extension that supports overloading operations such as function and
  operator overloading in C.  
 | 
  
   
Overloading
  operations such as function and operator overloading are possible in C++. 
 | 
 
| 
   
Since
  it does not have any object, it doesn't support object oriented programming
  concepts like polymorphism, encapsulation et cetera.  
 | 
  
   
It
  consist of objects and it is also known as Object oriented programming
  System. It supports all the object oriented concepts such as polymorphism,
  Encapsulation, Abstraction, Inheritance et cetera.  
 | 
 
Comments
Post a Comment