小鸡毛同学
2025-08-28 18:34
struct Student { int math; int english; }后math和english还是数组吗,可以赋值吗
struct Student { int math; int english; }只是这个定义了结构体包含两项参数,在程序中声明变量时,可以声明含有多个结构体的数组变量
慕设计354...
就像这样struct Student stu[50];
2026-04-18 22:49:05
共 1 条回复 >
👌可以吧!
趣味 C++ 入门
33850 学习 · 209 问题
相似问题
回答 2
回答 1