title: Assigning values to enumerated types
body: <pre><code>enum options {Yes,No};
  
  class A{
      int i;
      string str;
      options opt;
  };
  
  
  int main{
      A obj;
      obj.i=5;
      obj.str="fine";
      obj.opt="Yes"; // compiler error
  }
  </code></pre>
  
  <p>How can assign <code>const char *</code> to opt?</p>