typedef struct dataRec{
        long time;
        word oppid;
        word opppt;
        float before;
        float after;
        int ntrNum;
        int tapNum;
        int cbNum;
}drec;

구조체고 메인에

drec *rec; 정의했는데

rec->time, rec->oppid, rec->opppt, rec->before, rec->after, rec->ntrNum, rec->tapNum, rec->cbNum

전부 같은 값을 넣어줄라그래

그냥 우측에 = 값; 이래도 되는거야?

배열은 중괄호로 순서대로 값 넣는건 알겠는데 위 구조체는 배열이 아니잔어;;

값을 원하는 값으로 일괄적으로 초기화 하는 방법좀 알려줘 횽들