Difference between C and C++

Very famous question. It may have come in your exams and it may appear in an interview too.

C is a structured programming language.

C++ is an object oriented programming language. In C++ you have got the concept of a class which is a user defined data type. An instance of a class is an object. C++ was built as an extension of C.

C is good for low level programming like building Operating Systems, Device Drivers etc.

C++ is useful for High Level Programming for building complex systems. 


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s