title: Parameter name omitted in my function
body: <p>Parameter name omitted in function "histogram". What do I have to change on function "histogram"? The program is reading words and it prints their length (histogram).
  This is the <code>main()</code> function:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  #include &lt;stdlib.h&gt;
  #define N 99
  #define M 99
  
  int main(int argc, char *argv[])
  {
    int a, j, count = 0, i, b = 0, word = 0, sum = 0;
    char x[N][M];
  
    for(i=0; i&lt;N; i++) {
      printf("eisagete leksi,\ngrapste ****telos gia exit: ");
      scanf("%s", x[i]);
      a = strcmp(x[i], "****telos");
      if(a==0) break;
      count++;
    }
  
    for(i=0;i&lt;count;i++)
      printf("%d leksi: %s\n",i+1, x[i]);
  
    printf("\n");
  
    for (j=0;j&lt;count;j++){
      printf("%d :" , j+1);
      for(i=0; i&lt;strlen(x[j]) ;i++){
      printf("*");}
      printf("\n\n");
    }
  
    while ((a=epilogi())!=5){
      switch (a){
        case 1: metrisileksewn(x);break;
        case 2: metrisixaraktirwn(x);break;
        case 3: diaflekseis(x);break;
        case 4: istograma(x);break;
        default:break;
      }
    }
  }
  </code></pre>
  
  <p>There is one of my functions:</p>
  
  <pre><code>void histogram(char[N][M]){
    int i, j, count;
    char x[N][M];
    for (j=0; j&lt;count; j++){
      for(i=0; i&lt;strlen(x[j]); i++)
        printf("*");
      printf("\n");
    }
  }
  </code></pre>