title: Enum vs Strongly typed enum
body: <p>I am a beginner in C++ programming. </p>
  
  <p>Today I come across a new topic: strongly typed <code>enum</code>. I've researched it a bit but till now I am unable to find out why do we need this and what is the use of the same?</p>
  
  <p>For example if we have:</p>
  
  <pre><code>enum xyz{a, b, c};
  /*a = 0, b = 1, c = 2, (Typical C format)*/
  </code></pre>
  
  <p>Why do we need to write:</p>
  
  <pre><code>enum class xyz{a, b, c};
  </code></pre>
  
  <p>What are we trying to do here?
  My most important doubt is how to use it.
  Could you provide a small example, which will make me understand.</p>