title: What does "return" statement mean in Objective-C?
body: <p>What is the meaning of return statement in Objective-C>?</p>
  
  <p>For example, a simple calculator method to add numbers:</p>
  
  <pre><code>-(double) add: (double) value
  {
      accumulator += value;
      return accumulator;
  }
  </code></pre>
  
  <p>Does it mean that the result will be returned (or stored?) back to accumulator? What if there would be no return statement in that case?</p>
  
  <p>Also, how to explain the statement "return 0;" that we write in the end of each program.</p>
  
  <p>Thanks in advance.</p>