Linux operating System

 

What do you think Linux operating system is?

  • It is a operating system just like Window,Mac .’
  • Linux is a generic term referring to Unix-like graphical user interface (GUI) based computer operating systems
  • It is Multi-user, Multitasking, Multiprocessor.
  • Coexists with other Operating Systems
  • Runs on multiple platforms.

Advantages of Linux Operating System.

Read moreLinux operating System

Friend Function and Friend Class

FRIEND FUNCTION.

As we discussed C++ is having a great feature of Data Hiding(Encapsulation),that means Wrapping of data into a Single unit.For ex: all the Data members and member functions are wrapped  up  into a single unit called class.

where according to the concept we apply security or data hiding  by using Access Specifiers PRIVATE and PROTECTED,so according to policy ,if you are not a member you cannot access the private and protected members of a class. However to get rid of this situation we came up with a concept of Friend Function where a non -data member of a class can access the private and protected data members by making a non member friend.

Read moreFriend Function and Friend Class