title: int num = *(int *)number; What does this do?
body: <p>I was looking at some c++ code, and I saw this:</p>
  
  <pre><code>int num = *(int *)number;
  </code></pre>
  
  <p>I had never seen this before?
  it was in a function labeled as such:</p>
  
  <pre><code>void *customer(void *number){ }
  </code></pre>
  
  <p>What does that even do? Is there a different way to show this?</p>
  
  <p>Thanks, this isn't homework btw I was just confused at what this does? </p>