• 2021-04-14
    以下scanf函数调用语句中对结构体变量成员的不正确引用是().structpu...ex;}pup[5],*p;p=pup;
  • scanf("%d",p->age);

    内容

    • 0

      若有以下语句: struct student { int age; int num; } std,*p; p=&std; 则对结构体变量std中成员age的引用方式不正确的是()。

    • 1

      以下对结构体变量stu1中成员age的正确引用是()。 struct student { char name[10]; int age ; } stu1 ,*p; p=&stu1;

    • 2

      有以下说明语句,对结构体变量s的成员num的不正确引用是 。[img=135x83]18039a948484934.png[/img] A: s.num B: *p.num C: p->num D: (*p).num

    • 3

      对以下结构体变量example中成员x的引用正确的是【 】。 struct { int x;int y;} example, *p = &example;

    • 4

      若有定义:charch;通过指针p给变量ch读入字符的scanf函数调用语句是______。