[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++
Electrical and Instrumentation QC I...
Electrical and Instrumentation QC Interview Questions

8 / 187

How can we access private members of a classs?

Answer:

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
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.