is there an easy way to compile C code in visual studio using gnu11? I wrote the code on Xcode and it works perfectly fine, but doesn't even compile on visual studio, the main problem is that I defined an integer named "size", which takes the length of a string and then defined an array with the size "size". works perfectly normal in Xcode, can't even compile in visual studio.
int size = strlen(input);
int sorted_input[size];