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

Code:
class car
{
  void start();
  void resume();
}
Appreciate any input.