- 首页
- 行政执法资格
-
1.struct
-
2.设有如下定义:struct s1{int x;int y;};struct s2{int a;float b;struct s1 p;}ss;以下引用正确的是( )。
-
3.#include "stdio.h"struct complx{int real; int im; };struct complx add (struct complx za,struct complx
-
4.struct student {int age; int num;};struct student stu[3]={{1001,20},{1002,19},{1003,2}};struct student
-
5.有以下定义和语句:struct workers{ int num;char name[20],c;struct{int day,month,year;}s;};struct workers w,*pw;
-
6.若有以下说明语句struct date{ int year; int month; int day;};struct date birthday;则下面的叙述不正确的是( )
-
7.struct sx{int u,v;};struct sx list[5],*px=list;
-
8.struct student{ int num; int age;}; struct student stu[3]={{101,20}, {102,19}, {103,20}}, *
-
9.struct link{ int data; struct link * next; } int main(void){ struct link * head; sum(head);
-
10.struct stu *p,t;p=&t;