why have we passed the parameters ‘argc’ and the array of pointers ‘argv’ in the main function in this program ??
like what purpose is it solving??
also please explain the line :
int arr** = new int * [n];
why have we passed the parameters ‘argc’ and the array of pointers ‘argv’ in the main function in this program ??
like what purpose is it solving??
also please explain the line :
int arr** = new int * [n];
hello @aayushitalwar02
that is command line argument , we are never usinv it in our program. u can remove it from ur code.
are u aware of dynamic memory allocation? here we are dynamically allocating array of pointer, where each srray element will have starting address of each row of the matrix