The friend functions are inherently public and so, are accessible from anywhere in the file. The compiler ignores the access specifier in case of the friend function. However, it is most logical to declare them as public.
The friend functions are inherently public and so, are accessible from anywhere in the file. The compiler ignores the access specifier in case of the friend function. However, it is most logical to declare them as public.
Programming Interview Questions And Answers is proudly powered by WordPress. Theme by SwiftThemes.Com in cooperation with Web Host Gear
Powered by Yahoo! Answers