title: C/C++: Pointer Arithmetic
body: <p>I was reading a bit in Pointer Arithmetic, and I came upon 2 things I couldn't understand neither know it's use</p>
  
  <pre><code>address_expression - address_expression
  </code></pre>
  
  <p>and also</p>
  
  <pre><code>address_expression &gt; address_expression
  </code></pre>
  
  <p>Can someone please explain them to me, how do they work and when they are used.</p>
  
  <p>Edit:</p>
  
  <p>What I meant to say is what do they produce if I just take two addresses and subtract them</p>
  
  <p>And If I take two addresses and compare them what is the result or comparing based upon</p>
  
  <p>Edit:
  I now understand the result of subtracting addresses, but comparing addresses I still don't get it.</p>
  
  <p>I understand that 1&lt;2, but how is an address greater than another one and what are they compared upon</p>