下面定义变量语句中,错误的是()。
A.intx(10),y(10)
B.intx=y=10
C.intx=10,y=10
D.intx=10,y=x
A.intx(10),y(10)
B.intx=y=10
C.intx=10,y=10
D.intx=10,y=x
A.C语言中,extern可以放在变量或函数之前,以表示该变量或函数的定义在别的文件中,提示编译器在其他模块中寻找其定义
B.通常extern申明变量可以有多次
C.extern申明的变量事实上就是全局变量
D.extern变量可以定义多次
A.先定义类型,然后定义该类型的变量
B.在定义联合体类型同时定义若干变量
C.只定义若干个某种形式的联合体变量
D.先定义联合体变量,然后根据变量定义类型
下列语句中把P定义为一个文件指针的是()
A.FILE *P
B.FILE p
C.file P
D.file *P
若已定义:int a[9],*p=a;并在以后的语句中未改变P的值,不能表示a[1]地址的表达式是()
A.p+1
B.a+1
C.&a[1]
D.*p[1]
A.scanf("%s",pup[0].name);
B.scanf("%d",&pup[0].age);
C.scanf("%d",&p->sex);
D.scanf("%d",*P.age);
A.在pascal程序中所用到的变量必须先说明后使用
B.在pascal程序中,允许使用的最小值是-maxint
C.在pascal程序中,分号是语句的一部分,在每个语句中不能省略
D.在pascal程序中,符号常数的值可根据需要随时修改
2.从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
Software quality assurance is now an(1)sub-discipline of software engineering. As Buckly and Oston point out,(2)software quality assurance is likely to lead to an ultimate(3)of software costs. However, the major hurdle in the path of software management in this area is the lack of(4)software standards. The development of accepted and generally applicable standards should be one ofthe principal goals of(5)in software engineering.
设int x;,则以下语句中错误的输入是()
A.scanf ("%d",x);
B.scanf ("%d",&x);
C.seanf ("%o",&x);
D.scanf ("%x",&x);
从下面提供的答案中选出应填入下列英文语句中______内的正确答案。
Software quality assurance is now an(1)sub-discipline of software engineering. As Buckly and Oston point out,(2)software quality assurance is likely to lead to an ultimate(3)of software costs. However, the major hurdle in the path of software management in this area is the lack of(4)software standards. The development of accepted and generally applicable standards should be one ofthe principal goals of(5)in software engineering.