title: Should I return 0 or 1 for successful function?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/385975/error-handling-in-c-code">Error handling in C code</a><br>
    <a href="https://stackoverflow.com/questions/8116480/what-return-value-should-you-use-for-a-failed-function-call-in-c">What return value should you use for a failed function call in C?</a>  </p>
  </blockquote>
  
  
  
  <p>I always use 0, but its not really readable in <code>if</code>, <code>while</code>, etc. </p>
  
  <p>Should I return 1? Why main function <code>return 0</code> for success?</p>