title: Passing argument 1 of 'fgets' makes pointer from integer without a cast
body: <p>I run this piece of code and i get the following error, i did some research but i didn't really got an answer i hope if someone of you could give me a little help. I am new to programming please spare me if i missed something too obvious.</p>
  
  <blockquote>
    <p><strong>[Warning] passing argument 1 of 'fgets' makes pointer from integer without a cast</strong></p>
  </blockquote>
  
  <pre><code>int main(int argc, char *argv[]) {
   char *t,*s;
   char first, second;
   int x;
  
   printf("Give the first string: ");
   fgets(first,sizeof(char),stdin);
   printf("Give the second string: ");
   fgets(second,sizeof(char),stdin);
  }
  </code></pre>
  
  <p>When i add a "&amp;" inside my "first" and "second" variables it compiles but when i run it i don't get the strings that i gave from the keyboard.</p>
  
  <p>How to make it compile?</p>