Explain the functioning of code

can you explain the code from line 20 to 26

hello @prashantrsj25
we are just dynamically declaring a n x n matrix.
and then reading elemnts to our matrix.

basically that code is equivalent to following code.

int arr[n][n];
for(int i=0;i<n;i++) {
   for(int j<n;j++){
   cin>>arr[i][j]
}
}

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.