未分类 · 2025年11月21日

static struct {int a1;float a2;char a3;}a[10]={1,3.5,’A’};说明数组a是地址常量,它有10个结构体型的下标变量,采用静态存储方式,其中被初始化的下标变量是( ). A.a[1] B.a[-1] C.a[0] D.a[10]

static struct {int a1;float a2;char a3;}a[10]={1,3.5,’A’};说明数组a是地址常量,它有10个结构体型的下标变量,采用静态存储方式,其中被初始化的下标变量是( ). A.a[1] B.a[-1] C.a[0] D.a[10]

正确答案:C