摘要:
1 #include<stdio.h> 2 typedef struct{ 3 char name[20]; 4 int id; 5 int score; 6 }student; 7 8 student st[3] = { 9 {"jack",1,100}, 10 {"rose",2,80}, 11 阅读全文
posted @ 2021-10-02 22:29
major825
阅读(239)
评论(0)
推荐(0)
摘要:
1 #include<stdio.h> 2 3 // typedef int *fun(int a,int b);//fun代表int *(int ,int ) 4 typedef int (*fun)(int a,int b);//fun代表int (*)(int ,int ) 5 int add 阅读全文
posted @ 2021-10-02 09:01
major825
阅读(149)
评论(0)
推荐(0)
摘要:
#include<stdio.h> union data{ int a; char b; }dt; int main(int argc, const char *argv[]) { dt.a = 0x12345678; if(dt.b == 0x78) { printf("small\n"); } 阅读全文
posted @ 2021-10-02 08:14
major825
阅读(59)
评论(0)
推荐(0)
浙公网安备 33010602011771号