天天看点

C语言基础知识总结与回忆

注释

/内容/ 是对某一段进行注释而//内容 是对某一行进行注释

memset

extern void memset(void buffer, int c, int count) 原型

buffer:为指针或是数组, c:是赋给buffer的值,count:是buffer的长度.

$color{#376956}{结构体}$

typedef struct Student

    {

    结构体内容

    }Stu;

stu是student的别名类似于C#中的实例化

继续阅读