title: C code question
body: <p>When I entry a value for J variable,I am receive the error.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  
  int main(void)
  {
  
  int num[0][0];
  int ave, i, j;
  int a ,b;
  int sum = 0;
  
  printf("Enter numbers of row for i");
  scanf ("%d", a);
  printf("Enter numbers of column for j");
  scanf ("%d", b);
  
  printf("Input matrix elements :");
  for (i = 0; i &lt; a; i++) {
  for (j = 0; j &lt; b; j++) {
  
    printf("\nInput element [%d][%d] : ", i, j);
    scanf("%f", &amp;num[i][j]);
  }
  }
  
  
  printf("Your numbers are: \n");
  for(i = 0; i &lt; a; i++)
  for(j = 0; j &lt; b; j++)
  printf("%4d",num[i][j]);
  
  
  
  
  system("pause");
  return 0;
  }
  </code></pre>
  
  <p>Thanks,</p>