结构体赋值#include <stdio.h>#include <string.h>typedef struct{ int num; char name[6]; short height;} STR_STU; int main(){ STR_STU xm = {0}; STR_STU xh = {0}; xm.num = 1000; xm.height = 169; memcpy(xm.name,"ad",4); pri
1. C语言
2023-10-03
43 点赞
0 评论
65 浏览