title: Comparing hashses in C
body: <p>Hi I am comparing the hashes and I can't get the correct output. So please can you guys help me out.</p>
  
  <pre><code>for(int i=0;i&lt;len;i++)
  {   
      if(hash1[i]==hash2[i])
      {
          return 1;
          break;
      }
      else
          return 0;
      break;
  }
  </code></pre>