Why is the friend function declared inside class?
friend void Test();
3/21/2018 6:33:23 AM
inorder for the compiler to recognize the friend functions, when it creates an instance of the class.
in other words without it being decleard inside the class he wont recognize it.
Send us a message