title: String comparison in if statement not working
body: <p>I am new in C programming. Can you please advise, what's wrong with my code? It looks like the <code>if</code> statement is not working, and instead it's jumping and printing the <code>else</code> statement.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main()
  {
      char profession;
  
      printf("what is your profession? \n");
      scanf(" %s", profession);
  
      if(profession==“QA”)
      {
          printf(“Go and Test\n“);
      }
      else
      {
          printf("Do whatever you want");
      }
  
      return 0;
  }
  </code></pre>