初识C语言-关键字(typedef、static),#define定义变量和宏,指针,结构体
文章目录关键字关键字-typedef关键字-static修饰局部变量修饰全局变量修饰函数#define 定义常量和宏指针内存指针变量的大小结构体关键字关键字-typedeftypedef 顾名思义是类型定义,这里应该理解为类型重命名。#include <stdio.h>//将unsigned int 重命名为uint, 所以uint也是一个类型名typedef unsigned int uint;int main(){ //观察a和b,这两个变量的类型是一样的 unsig