Advertisement
Guest User

Untitled

a guest
May 30th, 2015
226
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(massive,x) massive=(int*)malloc(sizeof(int)*x)
  5. int x;
  6. int main()
  7. {
  8. int *array;
  9. array=space(massive,x);
  10. free(array);
  11. return 0;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement