hi all~
i remembered one-dimentional array requires const as argument when it was established but now i can pass variable to it ? i update Dev-C++ not long ago i wonder whethere it was exception of Dev-C++ compiler, my code is right below:
any ideas ?Code:int main() { int n = 10; int arr[n]; // No error occured !!! return 0; }