#include #include int* CreateArr(int n = 1){ int *arr = (int*)malloc(sizeof(int)*n); return arr;}int main(){ int i; int *a = CreateArr(10); for(i = 0; i < 10; ++i){ a[i] = i+1; printf("%d\n", a[i]); } return 0;}