Max Sum Sub Matrix

Can you please explain

  1. Use of int argc
  2. Use of char const *argv
  3. int *arr=new int[n];
    for (int i=0;i<n;i++({
    arr[i]=new int[m];
    }

I don’t think these things have been taught to us, maybe in the pointers. Please explain.

hi @anindya-gupta
argc and argv are used to take inputs from the command line, you dont need to use it.
The second thing is for creatind a 2D dynamic array.

Let me know if you are still having any confusion :slight_smile:

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.