title: incrementing struct members
body: <p>Say I have a struct defined as follows</p>
  
  <pre><code>struct my_struct
  {
       int num;
  };
  </code></pre>
  
  <p>....</p>
  
  <p>Here I have a pointer to <code>my_struct</code> and I want to do an increment on <code>num</code></p>
  
  <pre><code>void foo(struct my_struct* my_ptr)
  {
       // increment num
       // method #1
       my_ptr-&gt;num++;
  
       // method #2
       ++(my_ptr-&gt;num);
  
       // method #3
       my_ptr-&gt;++num;
  
  }
  </code></pre>
  
  <p>Do these 3 ways of incrementing <code>num</code> do the same thing?
  While we're at it, is it true that pre-increment is more efficient than post-increment?</p>
  
  <p>Thanks!</p>