首页 > 试题广场 >

给出以下程序的执行结果。 #include struct

[问答题]
给出以下程序的执行结果。
#include <stdio.h>
struct s
{
    int x,y;
} date[2]={10,100,20,200};
void main()
{
    struct s * p=date;
    printf("%d\n",++ (p->x));
}

推荐
程序输出为:11。
发表于 2018-05-07 20:40:48 回复(0)