I have this code:
int new_length = strlen(string);
char new_string[new_length];
So I assumed "new_length" should be constant, so now the code looks like this:
const int new_length = strlen(string);
char new_string[new_length];
And im still have the same Error.
"Expression must have constant value"
How can I fix it?