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
What are register variables?
What is the use of endl?
What is meant by forward referencing and when should it be used?
Is c++ the hardest programming language?
Comment on local and global scope of a variable.
what are Operators and explain with an example?
Explain polymorphism?
write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;
How do I exit turbo c++?
What is lambda in c++?
Why should we use null or zero in a program?
What is prototype in c++ with example?
Explain "const" reference arguments in function?
What are pointers used for c++?
When one must use recursion function? Mention what happens when recursion functions are declared inline?