2023年3月1日
摘要: Convention 口 = 1 Byte,用于具象化,方便眼睛对比长度; void = 空类型; C语言中,short、long、singned、unsigned都为说明符,可以改变标识符存储大小; C语言中,在声明整型变量时,如果声明中已经有一个其他的(同等)说明符,那么关键字int可以省略; 阅读全文
posted @ 2023-03-01 20:37 Mysticbinary 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 指针参数的DEMO #include <stdio.h> void hex_printf(char* buf, int buf_len) { int i = 0; if (NULL == buf) { return; } printf("len is : %d \n", buf_len); prin 阅读全文
posted @ 2023-03-01 11:35 Mysticbinary 阅读(42) 评论(0) 推荐(0) 编辑