I was trying to initialise a array made by pointer:
the code I used was:
int c = 15;
Struct *Pointer[c] = {NULL};
but C give me a error message which says:
"message": "variable-sized object may not be initialized",
but when I change my code to:
Struct *Pointer[15] = {NULL};
it worked!
Is there any way to fix it? I can't use 15 instead of variable "c"
Cheers!