Most languages that I know of support list like data structures. I was wondering if you can get the same effect in C. More specifically I am doing a program that will need to refer to days of the week and months of the year and I wanted to know if there was a way to do something like the following.
Code:
for(d=0;d<strlen(days);d++){
      char days[]={"Monday","Tuesday","Wednesday"...}
      printf("%s",days[day]);}