typedef的使用

    技术2024-08-19  75

    #include<stdio.h> #include<stdlib.h> int main() { //1. typedef给一个以存在的类型起一个名字 //2. typedef不能创建新类型 //给int起一个别名叫 len typedef int len; len a;//int a// 宏定义发生在预处理 //typedef是在编译阶段 return 0; }
    Processed: 0.009, SQL: 9