Академический Документы
Профессиональный Документы
Культура Документы
Friend Class
V.Radhesyam
'friend' function/Class
• A 'friend' function has access to all 'private'
members of the class for which it is a 'friend'.
2. Write a C++ program to find the sum of two complex numbers using friend
functions.