difference between c and c++?
Answer Posted / arpit gupta
1.C follows procedural programming language while c++ follows multi paradigm language(procedural as well as object oriented)
2.in c data is not secured,but in c++ data is secured(hidden)like data hiding which is not in c.
3.c is a low level language & c++ is a high level language
4.c is a top down approach but c++ is a bottom up approach
5.We can use functions inside structures in C++ but not in C.
6.C is function-driven while C++ is object-driven
7.C++ supports function overloading while C does not
8.C++ allows the use of reference variables while C does not
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write a c program for binary addition of two 8 bit numbers.
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
How do you clear a set in c++?
What is the size of a vector?
What is name hiding in c++?
Why do we use classes in programming?
What is polymorphism in c++? Explain with an example?
How is new() different from malloc()?
Is c++ an oop?
What do you mean by public protected and private in c++?
Why c++ is the best language?
What is the difference between set and map in c++?
What is the hardest coding language to learn?
What are exceptions c++?
What is the purpose of extern storage specifier?