下面程序执行后的输出结果是:_________。 #inelude struct stru{ ehar name; int value; }; void fun(struct stru*ptr) {

admin2017-09-26  24

问题 下面程序执行后的输出结果是:_________。
    #inelude
    struct stru{
  ehar name;
  int value;
    };
    void fun(struct stru*ptr)
    {
    ptr一>value++;
    }
    void main()
    {
    struct stru a={’R’,200),*p=&a;
    fun(p);
    printf("%c:%d",p—>name,p一>value);
    }

选项

答案R:201

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

最新回复(0)