Guest User

Untitled

a guest
Jan 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. void makeTable( int **table, int nrRows, int nrCols) {
  2.     table = malloc(nrRows*sizeof(int*));
  3.     for(int row=0; row<nrRows; row++) {
  4.         table[row] = (int *) calloc(nrCols, sizeof(int);
  5.     }
  6. }
Add Comment
Please, Sign In to add comment