Can you explain the step int **arr=new int * [n]; more briefly

can you explain the step int **arr=new int * [n]; more briefly. Also explain the reason behind the arguments which we took in int main(int argc, char const *argv[])

@tarunasree123 its just creating a 2d dynamic array . it will allocate n places to it where each of them contains the start address of the row.
for int main arguments refer this-
(https://stackoverflow.com/questions/3024197/what-does-int-argc-char-argv-mean#:~:text=The%20argc%20parameter%20represents%20the,provided%20on%20the%20command%20line.&text=The%20main%20function%20can%20have%20two%20parameters%2C%20argc%20and%20argv%20.&text=It%20is%20a%20one%20dimensional%20string%20array%20of%20function%20arguments.)
dont forget to hit like and mark resolved if cleared :smiley:

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.