摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h>#include <string.h>int main(){ char ch = 'w'; char* pc = &ch; printf("%d\n", sizeof(pc)); //*pc = 阅读全文
posted @ 2021-07-01 22:42
黑与灰
阅读(125)
评论(0)
推荐(0)
|
摘要:
#define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h>#include <string.h>int main(){ char ch = 'w'; char* pc = &ch; printf("%d\n", sizeof(pc)); //*pc = 阅读全文
posted @ 2021-07-01 22:42
黑与灰
阅读(125)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>#include<string.h>int main(){ int arr[10] = { 0 };//10个整形元素数组 int sz = 0; //10*sizeof(int)=40 printf 阅读全文
posted @ 2021-07-01 22:41
黑与灰
阅读(51)
评论(0)
推荐(0)
摘要:
#define _CRT_SECURE_NO_WARNINGS 1//包含一个stdio .h的文件//std-标准 standard input output#include <stdio.h> int main(){ int sum = 0; int num1 = 0; int num2 = 0 阅读全文
posted @ 2021-07-01 22:39
黑与灰
阅读(38)
评论(0)
推荐(0)
|