Computer Science, asked by akhiladitya90, 9 months ago

Consider two classes A and 'B''B' is inherited from 'A' A' has a friend function 'fun'. Which of the statement given options is correct?

Inheritance is not possible as 'A' contains a friend function

Function fun cannot access protected members of class B.

Function fun is friend for class 'B' also

Function fun can access only public members of class A​

Answers

Answered by shreyanshraj45
0

Answer:

koi to 50 point Ka question rakho Kisi me dam nhi h kya

Answered by HarshChaudhary0706
0

Answer:

Explanation:

Function fun cannot access protected members of class B.

Similar questions