difference between c and c++?
Answer Posted / muhammad asim
1.C language is easy as compare to c++.Because in one side
c++ show inheritance so another side its show the
properties of encapslution which are the contrast or weaken
point to inheritance due to encapslution.
2.In C the function pass from one funtion to another
several times while in C++ the function is hidden through
some external function.
3.C is a procedural or structural oriented language uses
ups-down approch and focus on procedure rather than data
while C++ is an object-oriented language uses down-ups
approch and focus on data rather than procedure.
4.C language uses pointer concept while there is no concept
of pointer in C++.
5.C++ is a prototype or a strick typechecking where C is
free of such things, so most programmes which is compiled
by C compiler cannot be compiled by C++ compiler.
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
write a function signature with various number of parameters.
Which software is best for coding?
What is insertion sorting?
Describe the syntax of single inheritance in C++?
Is rust better than c++?
write a porgram in c++ that reads an integer and print the biggest digit in the number
What is the array and initializing arrays in c++?
What are files in c++?
What does int * mean in c++?
What is a container class?
What are c++ redistributables?
What are c++ templates used for?
How are pointers type-cast?
Can recursive program be written in C++?
Which bitwise operator is used to check whether a particular bit is on or off?