title: I have to create this student data program. There is this warning I just cannot figure out
body: <p>So I wrote out this code and run it through cygwin terminal! I cleared all the errors but it only leaves me with one last warning I just cannot fix. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main (int argc, char *argv[]) {
          int phoneNumber;
          char firstName[11];
          char lastName[11];
          char eMail[20];
  
          printf("Please enter the user's first name:");
          scanf("%s", firstName);
          printf("Please enter the user's last name:");
          scanf("%s", lastName);
          printf("Please enter the user's phone number:");
          scanf("%i", phoneNumber);
          printf("Please enter the user's e-mail:");
          scanf("%s", eMail);
          printf("firstName, lastName, phoneNumber, eMail: %s, %s, %i, %s", firstName, lastName,
  phoneNumber, eMail);
  }
  </code></pre>
  
  <p>There is the code. The cygwin error tells me:</p>
  
  <p><strong>warning: format specifies type 'int' but the argument has type 'int *' [-Wformat]</strong></p>
  
  <p>This refers to the last printf line where the %i is. </p>