title: runtime error (stack overflow)
body: <p>I've got this code in C language: </p>
  
  <pre><code>char *options[100000];
  int k[100000];
  char *param[100000];
  int n;
  int i,j;
  ...
  scanf("%d",&amp;n);
  for (i=0;i&lt;n;i++)
  {   
      scanf("%s%d",&amp;options[i],&amp;k[i]);
      param[i]="On";
  }
  ...
  </code></pre>
  
  <p>just as the programm reaches this point: </p>
  
  <pre><code>scanf("%s%d",&amp;options[i],&amp;k[i]);
  </code></pre>
  
  <p>I get the runtime error (stack overflow).
  The input here should be like this:</p>
  
  <pre><code>word1 number1
  word2 number2
  </code></pre>
  
  <p>and so on. I've got no idea why is this happening. What's the problem?</p>