title: Strcmp crashes application
body: <p>I have this function</p>
  
  <pre><code>int does_exist_in_array(char team[], struct team *teams) {
      int i;
      for(i = 0; i &lt; MAX_TEAMS_AMOUNT; i++) {
          if(!strcmp(team, teams[i].name)) {
              return 1;
          }
      }
      return 0;
  }
  </code></pre>
  
  <p>It crashes when i run the application. Anyone know what is wrong? Do i use it wrong?</p>