[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C++

8 / 187

How can we access private members of a classs?


By using a friend function.
A friend function has access to all private and protected members of the class for which it is a friend.

Asked In :: TCSiGateVirtusaSyntel Inc.Accenture

Post Your Answer Here:

Rate This: +6 -0      +1

Post Your Reply Here:

Alert me

Report Error

Please Login First Click Here

Most Popular Qs.