I saw this header fil in some code I downloaded :
I dont understand the use of the friend, whats the difference in functionality between the above and the below code ?Code:class car { friend void start(); friend void resume(); } void start(); void resume();
Appreciate any input.Code:class car { void start(); void resume(); }