int형 100개짜리 배열을 놓는다 할때,

extern int array[100];이랑(데이터 세그먼트)

extern array[];후 malloc으로 직접 100개 할당해주는거랑(힙 세그먼트)

어느게 더 나음?