结构体字符串的输入:

一、经过strcpy函数将字符串复制过去web #include <stdio.h> #include <string.h> struct student{ char name[10]; }; int main (void) { struct student boy1; strcpy (boy1.name, "Harry"); printf ("%s\n", b
相关文章
相关标签/搜索