typedef struct {
int statel
char pNumber[20];
} CallStatus;
예를 들어 위와 같은 구조체가 있다고 하자.
문득 초기화에 대해 다시 되짚어 볼 기회가 생겨서 몇가지 테스트를 해보았다.
CallStatus callStatus = {0,};
CallStatus callStatus = {};
상기 두 코드는 모두다 정상적으로 동작한다.(gcc 4.4.5)
참고 : http://www.borlandforum.com/impboard/impboard.dll?action=read&db=bcb_tip&no=875
http://cretom.egloos.com/1969359
