Home »
C programming language
What is the difference between C and C++ programming language?
C & C++ are computer programming languages that are used to write programs to communicate with computer. Here we will learn what is C and C++ programming languages and what are the differences between them.
Firstly we have to know, what is computer programming language?
A computer programming language is the medium of communication between computer hardware and user, where user instruct to the computer through some instructions (written in any programming language) to perform some specific types.
Now a day there are many popular computers programming languages like – Assembly, C, C++, Java, Android, Ruby, Python etc.
C and C++ programming differences
C programming language
C is a middle level computer programming language developed at Bell Lab at 1972 by Dennis Ritchie, C is considered as Middle Level Language because of its features. C language contains features of Low Level Language as well as High Level Language.
C++ programming language
C++ computer programming language was developed by Bjarne Strostroup in 1980. C++ is the super set of containing features of C programming language and Simula67. C++ introduced the concept of Class and Objects.
Difference between C and C++
C Programming Language |
C++ Programming Language |
C language was developed in 1972 by Dennis Ritchie. |
C++ language was developed in 1980 by Bjarne Strostroup. |
C is a Procedural Oriented Programming language. |
C++ is an Object Oriented Programming language. |
C has Top Down programming approach. |
C++ has Bottom Up programming approach. |
The extension of a c program is is .c |
The extension of a c++ program is .cpp |
In c programming language, a big problem divides into small pieces known as functions; this approach of programming is known as Modular programming. |
In c++ programming language, a big problem divides into Classes and Objects. |
Structure in C does not have function declaration features i.e. we cannot declare a function as member function of structure in C. |
Structure in C++ provide the feature of declare a function as member function of structure. |
C Language Tutorial »
Related topics...