c - Referring to: How to Use LLIST *mylist[N]; -
This works
  LIST * mylist [10] = {NULL};   But if I want to do this I get errors:
  int x = 10; List * MyList [x] = {NULL};     x  can be any value I'm setting it up to 10 times using the  x  as the counter Used to be. 
Support for variable length Arrays (which uses your other example) came in the C99 standard , Which can not support your compiler.
 For GCC, you should give the option  -std = c99  while compiling. 
Comments
Post a Comment