12章 存储类-内外链接-内存管理(靠程序员管理)
存储类 链接 内存管理限定词extern volatile restrictrand srand time 函数中静态变量malloc calloc free memmove memcpyrand生成一个随机数,srand设置种子,time作为种子malloc和calloc分配内存,free释放内存memmove操作的两个字符串可以交叉,memcpy不能,没找到字符串交叉的列子volatile会被编译器优化存放到寄存器中restrict被编译器优化便于寻找计算捷径extern声明一个外部变量...
复制链接