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
How do you compile the source code with your compiler?
Array base access faster or pointer base access is faster?
What do you mean by function and operator overloading in c++?
What is virtual destructor? What is its use?
What is the role of C++ shorthand's?
Explain the static storage classes in c++.
What does it mean to declare a member variable as static?
What is c++ try block?
Why is c++ called oops?
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
Explain the volatile and mutable keywords.
Where do I find the current c or c++ standard documents?
What do you mean by storage classes?
What are libraries in c++?
What is the maximum combined length of command line arguments including the space between adjacent arguments?