zzy-c

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2022年4月8日

摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> void test(int** p2) { printf("num=%d\n", **p2); **p2 = 20; } 阅读全文
posted @ 2022-04-08 17:01 zzy_C 阅读(140) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2022-04-08 16:39 zzy_C 阅读(39) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> void print(int* ptr, int sz) { int i = 0; for (i = 0; i < sz 阅读全文
posted @ 2022-04-08 16:25 zzy_C 阅读(71) 评论(0) 推荐(0)

摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include<stdio.h> #include<string.h> #include<assert.h> void reverse(char* str) { assert(str); //断言 非0不报错 int len = 阅读全文
posted @ 2022-04-08 11:03 zzy_C 阅读(50) 评论(0) 推荐(0)