title: Bug right after entering all the data.
body: <p>I'm writing a little program in C to record a person last name, given name, and age. I'm trying to use structures to do it 
  As soon as I add the age it bugs.</p>
  
  <p>I've tried to use fscanf fgets etc.. but no luck</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;printf.h&gt;
  #include "personne.h"
  
  
  int main() {
  
  
      Pers user1;
  
      printf("What's your given name ?");
      scanf("%s",user1.givenname);
      printf("What's your last name ?");
      scanf("%s",user1.lastname);
      printf("What's your age ?");
      scanf("%d",user1.age);
  
      printf("Your name is %s %s and you're %d years old",user1.givenname,user1.lastname,user1.age);
  
  
      return 0;
  }
  
  
  ======================================================================
  </code></pre>
  
  <p>Here's my header file</p>
  
  <pre><code>#ifndef TABLEAU_DE_TYPEPERSONNE_PERSONNE_H
  #define TABLEAU_DE_TYPEPERSONNE_PERSONNE_H
  
  #endif //TABLEAU_DE_TYPEPERSONNE_PERSONNE_H
  
  
  typedef struct Personne Pers;
  
  struct Personne{
      int age;
      char lastname[100];
      char givenname[100];
      char address[1000];
  
  
  };
  </code></pre>
  
  <p>normally at the end, it should print the infos. </p>