int n;
cout<<"Enter the value of n"<<endl;
cin>>n;
int arr[n];
why do I get these error expression must have a constant value
int n;
cout<<"Enter the value of n"<<endl;
cin>>n;
int arr[n];
why do I get these error expression must have a constant value