Chapter 1

Introduction to C++

CHAPTER OUTLINE
1.1   DIFFERENCES BETWEEN C AND C++

Some differences between C and C++ are as follows:

  1. C is a procedure/function-oriented language and C++ language is driven by a procedure/object.
  2. Data is not protected in C, whereas data is secured in C++. Data hiding concept is absent in C.
  3. C uses a top down approach while C++ uses ...

Get Programming in C++, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.