Friend class and Subclass

Please share an article on the above two topics so that I can have a better understanding of those concepts.

You can find plenty of resources online.There are a number of sites like cpp refrence,gfg and many other.Please find the article yourself on these sites.It is not possible for me to send all the links.