logo

Crowdly

Adottak az alábbi definiciók: enum Gender {     FEMALE,     MALE }; ...

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

Adottak az alábbi definiciók:

enum Gender {

    FEMALE,

    MALE

};

typedef struct {

    int year, month, day;

}Date_t;

typedef struct {

char name[50];

char neptunCode[8];

char birthPlace[25];

float examResult;

enum Gender gender;

Date_t birthDate;

}Student_t;

Az alábbi deklaráció és értékadás ebben az esetben helyes:

  Student_t student = {"George Smith", "AVKMO7", "Toronto",1, {1999, 2, 20}};

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