Advertisement
Guest User

Untitled

a guest
May 30th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. #include <malloc.h>
  4. #define space(array,x) array=(int*)malloc(sizeof(int)*x)
  5. int x,massive;
  6. int main()
  7. {
  8. int *array;
  9. space(array,x);
  10. free(array);
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement