摘要:
#include <stdio.h> int main() { short a = 10; int b = 100; long c=100; int short_length = sizeof a; int int_length = sizeof(b); int long_length = size 阅读全文
posted @ 2021-03-23 09:06
myrj
阅读(379)
评论(0)
推荐(0)
摘要:
#include<stdio.h> main() { //char a[5]; //strcpy(a,"啊"); char a[5]="职"; printf("%XH %XH\n",(unsigned char)a[0],(unsigned char)a[1]); return 0; } 结果: D 阅读全文
posted @ 2021-03-23 08:23
myrj
阅读(219)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <stdlib.h> int sum(int a,int b) { int c; c=a+b; printf("c=a+b=%d\n",c); return 0; } int main() { int (*p2)(int,int); p2=su 阅读全文
posted @ 2021-03-23 06:32
myrj
阅读(44)
评论(0)
推荐(0)

浙公网安备 33010602011771号