title: The importance of c enumeration (typedef enum)
body: <p>I recently saw this in an answer that was posted for me:</p>
  <pre><code>typedef enum
  {
      NO_OP,
      ADDITION,
  } operator_t;
  
  int main()
  {
      operator_t operator = NO_OP;
  }
  </code></pre>
  <p>What is <code>typedef enum</code> and why should we use it?  I googled and found the following:
  <a href="http://www.programiz.com/c-programming/c-enumeration" rel="nofollow noreferrer">http://www.programiz.com/c-programming/c-enumeration</a></p>
  <p>Right now it sounds slightly too technical for me so I don't think I understand what is going on or why anyone would use that.</p>
  <p>Bonus (optional): What type of variable is the <code>operator_t</code>?</p>