What is the Difference between "C structure" and "C++
structure"?
Answer Posted / asif iqbal
1.C is a procedural oriented lang. whereas C++ is an object oriented lang.
2.C employs bottom-up aproach whereas C++ employs top-down approach.
3.In C main preference is given to functions whereas in C++ main preference is given to objects.
4.In C no inheritence,polymorphism whereas in C++ it exists.
5.In C data member and member functions are separated whereas in C++ they are within a Class.
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Why is c++ is better than c?
What is helper in c++?
Is overriding possible in c++?
What is switch case in c++ syntax?
Which is most difficult programming language?
What is conditions when using boolean operators?
Describe linked list using C++ with an example.
Difference between Abstraction and encapsulation in C++?
How do I tokenize a string in c++?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What is the rule of three?
What happens when you make call 'delete this;'?
Write a program to concatenate two strings.
What does the linker do?