Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on C and c++ within the C and C++ forums, part of the Software Development category; What is the main difference between C and C++ ?...
|
|||||||
|
|||
|
What is the main difference between C and C++ ?
|
| The Following User Says Thank You to softapple For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: C and c++
Yes a stucture in C++ can habe a constructor and Destructor.
|
| The Following User Says Thank You to softapple For This Useful Post: | ||
|
|||
|
Re: C and c++
C++ supports all opps concept like inheritance, polymorphism, data hiding and data abstractions where as C does not support all the above OPPs features. C is procedural oriented language where as C++ is an object orriented programming language.
Last edited by Nisikant; 02-02-2009 at 07:41 AM. |
|
|||
|
Re: C and c++
1. C++ supports all opps concept like inheritance, polymorphism, data hiding and data abstractions where as C does not support all the above OPPs features.
2. C is procedural oriented programming language where as C++ is an object orriented programming language. 3. C program source code can compile by C++ compiler where as C++ source code can't compile by C compiler.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|