Object-Oriented Programming in C++


2) Data Members & Member Functions

The attributes or data in the class are defined by the data members & the functions that work on these data members are called the member functions.

Example:


Popular posts from this blog

Data Types – Sizes & Memor C++.

Whitespace in C++