Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. int x = 8;
  2. int y = 6;
  3. int** tablica2D = malloc(sizeof(int)*x);
  4. for(int i=0; i<x; i++) {
  5.     tablica2D[i] = malloc(sizeof(int)*y);
  6. }
  7.  
  8. *tablica2D[2][3] = 12;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement