logo

Crowdly

Adottak az alábbi definíciók: enum Gender {     FEMALE,     MALE }; ty...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Adottak az alábbi definíciók:

enum Gender {

    FEMALE,

    MALE

};

typedef struct {

    int year, month, day;

}Date_t;

typedef struct {

    char name[50];

    char neptunCode[8];

    char birthPlace[25];

    Date_t dateOfBirth;

    enum Gender gender;

    float examResult;

}Student_t;

A Student_t struktúrában a neptunCode mező elegendő helyet biztosít pontosan 8 karakter hosszú Neptun-kód tárolására, beleértve a lezáró nullkaraktert is.

0%
100%
More questions like this

Want instant access to all verified answers on moodle.ms.sapientia.ro?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome