title: Comparisons between two strings don't work
body: <p>I'm writing a menu and I try to choose a option with a string. Following the concerned part my program :</p>
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;string.h&gt;
  #include &quot;pendu.h&quot;
  
  int main()
  {
      char choix_utilisateur[100];
  
      printf(&quot;Choisissez votre douleur :\n&quot;);
      printf(&quot;- &gt; Mastermind\n&quot;);
      printf(&quot;- &gt; Pierre Feuille Ciseaux\n&quot;);
      printf(&quot;- &gt; Juste Prix\n&quot;);
      printf(&quot;- &gt; Pendu\n&quot;);
  
      fflush(stdin);
      fgets(choix_utilisateur, 100, stdin);
      printf(&quot;%s\n&quot;, choix_utilisateur);
  
      if(!strcmp(choix_utilisateur, &quot;toto&quot;)){
          printf(&quot;- &gt; Mastermind\n&quot;);
      }
      else if(!strcmp(choix_utilisateur, &quot;Pierre Feuille Ciseaux&quot;)) {
          printf(&quot;- &gt; Pierre Feuille Ciseaux\n&quot;);
      }
      else if(!strcmp(choix_utilisateur, &quot;Juste Prix&quot;)) {
          printf(&quot;- &gt; Juste Prix\n&quot;);
      }
      else if(!strcmp(choix_utilisateur, &quot;Pendu&quot;)) {
          pendu();
      }
      else {
          printf(&quot;Ecris autre chose\n&quot;);
      }
  
      return 0;
  }
  </code></pre>
  <p>Here, when I write Pendu, the program select the else without go in the :</p>
  <pre><code>else if(!strcmp(choix_utilisateur, &quot;Pendu&quot;)) {
          pendu();
      }
  </code></pre>
  <p>With some tests, I saw that <code>strcmp</code> doesn't work as it is expected and return <code>1</code> to
  <code>strcmp(choix_utilisateur, &quot;Pendu&quot;)</code> with <code>choix_utilisateur = &quot;Pendu&quot;</code> (I verified, the value variable takes the good value with the fgets). I also try with a <code>char tab[] = &quot;Pendu&quot;</code> and it doesn't work too.</p>
  <p>Do you have any idea of the problem ? Thanks by advance.</p>