+ 5

In my c++ assignment my teacher asked me questions like that :- Explain function overriding using friend function.

So what type of answer should I write??? Can we do like that???

16th Dec 2020, 5:30 AM
#Abhiii007☑️
#Abhiii007☑️ - avatar
3 ответов
+ 6
Friend function is not member function. So is it possible to override it???
16th Dec 2020, 5:35 AM
#Abhiii007☑️
#Abhiii007☑️ - avatar
+ 5
Mine Teacher Also asked the same question Nothing is Impossible #Abhiii007☑️ Try It😎
16th Dec 2020, 5:34 AM
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎Rohit
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎Rohit - avatar
+ 2
Yes #abhiii007 Friend function is not member function so you can't override it
17th Dec 2020, 2:56 PM
Ganesh Kore
Ganesh Kore - avatar