I am getting a mixed declaration with code error. How can I do this? (I have to compile this program with specific settings so compiling it differently is not an option.)Code:int rows, cols; scanf("%d %d\n", &rows, &cols); char drawing[rows][cols];
Any help is appreciated.
Thanks