Quick Print – CSKC
Sign In

Search

siteicon
Solved Problem #CPP#5179 Back

Problem Statement - Code error in class

Find error (if any) in the following class definition.

Class PLAY
{
Β Β int number_of_actors=5;
  void set_actor_count()
  {
    number_of_actors=10;
  }
};

Solution