Created
December 22, 2018 08:22
-
-
Save daniilgri/a580aef54b518f9ff9b917fb7c030812 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int* manageArr(int n, int m) { | |
int i, j; | |
int** arr = new int*[n]; | |
for (i = 0; i < n; i++) { | |
arr[i] = new int[m]; | |
} | |
for (i = 0; i < n; i++) { | |
for (j = 0; j < m; j++) { | |
printf("Enter arr[%i][%i] = ", i + 1, j + 1); | |
scanf_s("%i", *(arr + i) + j); | |
} | |
} | |
return(int getElement(int fi, int fj) { | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment