title: Could someone tell me why isn't my if/else statment working?
body: <p>I've tried to play with little details, and yet, doesn't seem to work properly. And I don't know why!</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main()
  {
      char adminName[20];
      char userName[20];
      adminName[20]= "Admin";
  
      printf("Please, enter your name:");
      scanf("%s", userName);
  
      if(userName == adminName) {
          printf("Welcome, Admin! \n");
      }
  
      printf("Wrong log-in details, %s. \n", userName);
      return 0;
  }
  </code></pre>