title: Need help allocating memory for an struct array of arrays
body: <p>So i have these structs</p>
  
  <pre><code>typedef struct user
  {
    char username[30];
    char password[30];
    char email[100];
    char nome[30];
  
  
  }user;
  typedef struct admin
  { 
    char nome[30];
    char passwd[30];
  }admin;
  </code></pre>
  
  <p>and i want to create these arrays with them </p>
  
  <pre><code>user database[50];
  user banlist[100];
  admin list[10];
  </code></pre>
  
  <p>how can i allocate memory for them </p>