P
Pavan
Hi ,
Suppose if I declare like this
int n = 0;
cin >> n;
int arr[n];
Suppose when we run this application, we enter value of n as 10, then
does it create an array for 10 integers or does it create only for 0?
First of all is it safe to do like that?
Suppose if I declare like this
int n = 0;
cin >> n;
int arr[n];
Suppose when we run this application, we enter value of n as 10, then
does it create an array for 10 integers or does it create only for 0?
First of all is it safe to do like that?