title: A class object to another datatype?
body: <p>Can you convert a class object to for example to int, double, char etc.. is it called implicit or explicit conversion?</p>
  
  <pre><code>class MyClass
  {
  int x;
  };
  
  int main()
  {
      MyClass MyObject; //convert my object to int
  }
  </code></pre>