code on struct

1
2
3
struct my_struct {
int val;
} my_array[100];


What does the my_array[100] do?
It creates an array of 100 my_structs called my_array.
Topic archived. No new replies allowed.