若有以下程序段: struct st {int n; int*m: }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&B)}; main()

admin2011-06-10  19

问题 若有以下程序段:    struct st    {int n;    int*m:    };    int a=2,b=3,c=5;    struct st s[3]=({101,&a},{102,&c},{103,&B)};    main()    {struct st*p;    p=s;    }    则以下表达式中值为5的是(    )。

选项 A、(*p).m
B、*(p+1)->m
C、*(p++)->n
D、(p++)(*m)

答案B

解析
转载请注明原文地址:https://kaotiyun.com/show/vtPp777K
0

最新回复(0)