The member function that performs input and output operation requir
es more time. Inline func tions have
one drawback, the entire code of the function is placed at the point of call in caller function and it must be
noted at compile time. Therefore, inline functions cannot be placed in standard library or run-time library.
16.13 DATA HIDING OR ENCAPSULATION
Data hiding is also known as encapsulation. It is a process of forming objects. An encapsulated object is often
called as an abstract data type. We need to encapsulate data because the programmer often makes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.