Guest User

Untitled

a guest
Nov 8th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. If width is `a` and height is `b`.
  2. ```C
  3. int **c;
  4. c = (int**) malloc (sizeof(int*) * b);
  5. for (int i = 0; i < b; i++)
  6. c[i] = (int*) malloc (sizeof(int) * a * 3);
  7. ```
Add Comment
Please, Sign In to add comment