What is the difference between C and C++?
Answers
Answered by
1
Answer:
C/C++ C is a high-level programming language that was developed in the mid-1970s. C++, pronounced "C plus plus," is a programming language that was built off the C language. The syntax of C++ is nearly identical to C, but it has object-oriented features, which allow the programmer to create objects within the còde.
Answered by
4
Answer:
Answer:The difference between C and C++ is:
C
- It is a Procedural Oriented language.
- C language follows Top-Down programming approach.
- The file extension of a C program is .c .
- In the C programming language, a big program códe is divided into small pieces, which is called functions.
- Structure in C does not provide the feature of function declaration.
C++
- It is an Object-Oriented Programming language.
- C++ follows a bottom-up programming approach.
- The file extension of a c+ + program language is.cpp
- In the C++ programming language, a big program códe is divided into Objects and Classes.
- Structure in C++ provides the feature of declaring a function as a member function of the structure.
Similar questions