title: strcmp always returning 1
body: <p>The variable "id" used in the following code is a global variable which is got from a separate function. It is declared and used as a string. 
  The check variable is an integer.</p>
  
  <pre><code>    do{
  
      printf("\n\n\n\n\n\n\t\tEnter the id of the account you want to transfer to: ");
      fflush(stdin);
      scanf("%s",&amp;account_id);
      check=strcmp(id,account_id);
  
      printf("%d",check);//This is just a temporary check to see what strcmp is returning
  
      if(check&lt;0)
      {
          printf("\n\t\tYou cannot transfer to you own account!\n");
      }
  </code></pre>
  
  <p>Problem is in the title. Check is always 1 no matter what value is input by me. It does change to -1 if I compare the varibles in the reverse order (ie strcmp(account_id,id);).</p>
  
  <p>Thank you in advance</p>