I want to know if you can have a struct with a component that is a pointer to an array of indeterminate length? Say something like:
where "scores" is not necessarily the same from log to log. I suppose you must be able to do this if you can include strings which differ from struct to struct in a struct, which I think you can.Code:struct log { int registration_number; int *scores; }
Yay or nay?