Doubt in creation of array

At 7:12, why we are first initializing an array of 1000 rows & 1000 columns and then taking the input from user for rows & columns? I mean, can’t we first take input from user & then initialize array with that?

hi @gambhirrahul0,
We can definitely do it, there is no issue.
Please let me know if there is any other doubt.

why you reopen this doubt??

is there is anything else you want to ask?
or not satisfied with previous reply

hi @gambhirrahul0 do you have any other doubt?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.