All Questions
1 question with no upvoted or accepted answers
0
votes
0
answers
70
views
Initializing a variable in a struct, then in a function
It won't allow me to initialize the array to NULL in the struct in the header file:
typedef struct frog
{
bool is_frog;
struct frog* french_chef[10]; // eg = {NULL};
} frog;
which I get, but ...