Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- #include <malloc.h>
- #define space(massive,x) massive=(int*)malloc(sizeof(int)*x)
- int x;
- int main()
- {
- int *array;
- array=space(massive,x);
- free(array);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement