DIff. between Friend and Protected Friend.

Showing Answers 1 - 2 of 2 Answers

nidhi

  • Sep 17th, 2005
 

Friend  access  provides access to member  with in the namespaces .The protected friend gives  specifies access  to the member with in the namespace and the  derving classes.

  Was this answer useful?  Yes

Rajesh

  • Nov 3rd, 2006
 

A Friend can be acessed without having any relationships like inheritaqnce but protected Frien can be accessed only when inherited and a protected friend will become a private function for that inherited class

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions