结构体生日{ int day:6; }生日;
在声明b-day为结构时,它显示以下错误:
b-day
error: expected ':', ',', ';', '}' or '__attribute__' before '-' token|
但是从变量名中删除连字符后它就可以工作了,为什么呢?
c structure
c ×1
structure ×1