C++ Program to demonstrate example of Friend Function