美文网首页
2018-05-29

2018-05-29

作者: TG帅 | 来源:发表于2018-05-29 22:28 被阅读0次

    共用体union tab{int num;char name[10];}t1;

    自定义数据类型typedef struct student stu;typedef int u16;typedef char u8;typedef double u64;

    枚举类型#include enum color{re,ye=10,bl};

    函数体外只可以定义,不可以有其他操作

    结构体指针 typedef struct{int num;char name[10];struct{int year;int mon;int day;}birth;}student;

    void test(int *s){*s=100;}

    相关文章

      网友评论

          本文标题:2018-05-29

          本文链接:https://www.haomeiwen.com/subject/xldzjftx.html