Difference Between C & C++

  • Thread starter Thread starter sunveer
  • Start date Start date
  • Replies Replies: Replies 3
  • Views Views: Views 2,797

sunveer

Member
Joined
7 Apr 2011
Messages
246
Reaction score
7
Some differences between C and C++ languages:

1. C is a Procedural Oriented Language whereas C++ is a Object Oriented Language.

2. C is function driven whereas C++ is object driven.

3. C follows Top Down Approach in design whereas C++ uses Bottom Up Approach.

4. There is no data security in C whereas data is secure in C++ due to concept of classes & objects.

5. We can use reference variables in C++ not in C.

6. Namespace is a feature added to C++ which is not present in C.

Source: sunveer, Btech(CSE)
 
Back
Top Bottom