C/정리

배열의 동적할당

vss121 2021. 11. 9. 23:01
int n;
int *arr;
scanf("%d", &n);
arr= (int*)malloc(sizeof(int) * n);
저작자표시 (새창열림)