table[limit] = 0; #### char *table = (char *) malloc( (limit + 1) * sizeof(char) );