struct { int i ,j ,k; } a[3]={1,2,3,4,5,6,7,8,9}; cout

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 11:15:34
struct{inti,j,k;}a[3]={1,2,3,4,5,6,7,8,9};coutstruct{inti,j,k;}a[3]={1,2,3,4,5,6,7,8,9};coutstruct{i

struct { int i ,j ,k; } a[3]={1,2,3,4,5,6,7,8,9}; cout
struct { int i ,j ,k; } a[3]={1,2,3,4,5,6,7,8,9}; cout

struct { int i ,j ,k; } a[3]={1,2,3,4,5,6,7,8,9}; cout
定义了结构体a[0]={1,2,3},a[1]={4,5,6},a[2]={7,8,9}
所以输出结果就是:753