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 is #include cstdlib in c++?
What is an operator function? Describe the function of an operator function?
Does c++ have string data type?
What is flag in computer?
Write a short code using c++ to print out all odd number from 1 to 100 using a for loop
How can I learn c++ easily?
What is public, protected, private in c++?
What is recursion?
Implement stack operations with pointers with appropriate exception checks.
Write a recursive program to calculate factorial in c++.
Can we use struct in c++?
Can you explicitly call a destructor on a local variable?
If dog is a friend of boy, is boy a friend of dog?
Where Malloc(), Calloc(), and realloc() does get memory?
What will the line of code below print out and why?