首页 › 答案 › 题库 › 知到智慧树 › 未分类

定义以下结构体数组struct c{;int x; int y;}s[2]={1,3,2,7};语句 printf("%d",s[0].x*s[1].x);的输出结果是()

定义以下结构体数组struct c{;int x; int y;}s[2]={1,3,2,7};语句 printf("%d",s[0].x*s[1].x);的输出结果是()
A.14
B.6
C.2
D.21
正确答案:2