hi
Ans1) friend funtion are not the member funtion thats they are just a bridge to acesss the member data to utilize it in code so in a drived class memebre funtion only inherited , thats the main reson that a friend funtion is not inhaerited
Ans2) a reference variable may be use as parameter but let
let add( int )
and add( int& )
but have same call thats is
add( 10 ) // ftn call
so which ftn call to which ie add( int ) or add( int & ) due to this confusion coompiler genrate error
bye
Do you Yahoo!?
Dress up your holiday email, Hollywood style. Learn more.
To unsubscribe : [EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To reply to this message, go to:
http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4804
Please do not reply to this message via email. (more info)
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Programmers-Town/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
