冬梦鸭
2021-09-27 01:20
采纳率: 100%
浏览 29

哎想不到啊求神解答c语言

img

  • 收藏

1条回答 默认 最新

  • CSDN专家-link 2021-09-27 05:16
    已采纳

    typedef enum _aimajor
    {
    major1 = 2,
    major2 = 3,
    major3 = 4
    }aimajor;
    aimajor ai;

    char name[20] = "张三";
    char sex[3] = "男";
    int age = 19;
    float height = 182.5;
    float temperature = 36.2;

    char name[20];
    strcpy(name,"张三");
    char sex[3] ;
    strcpy(sex,"男");
    int age;
    age = 20;
    float height;
    height = 181.5;
    float temperature;
    temperature = 36.8;

    已采纳该答案
    打赏 评论

相关推荐 更多相似问题