title: If string is equal to another string, print something
body: <p>For some reason this code doesn't output anything, what did I do wrong?</p>
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
      char c;
      scanf(&quot;%s&quot;,&amp;c);
      if(c==&quot;ab&quot;)
      {
          printf(&quot;b&quot;);
      }
  }
  </code></pre>