有以下程序:
#include<stdio.h>
int f(int n):
main( )
int a=3,s;
s=f(a);s=s+f(a);printf("%d/n",s);
mt f(int n)
static int a=1;
n+=a++;
return n;
程序运行后的输出结果是( )。
A:7 B:8 C:9 D:10
有以下程序:
#include<stdio.h>
#include<string.h>
struct A
int a;char b[10];double c;;
Struct A f(struct A t):
main( )
struct A a=1001,"ZhangDa",1098.0;
a=f(a);printf("%d,%s,%6.1f/n",a.a,a.b,a.c);
struct A f(struct A t)
t.a=1002;strcpy(t.b,"ChangRong");t.c=1202.0;return t;
程序运行后的输出结果是( )。
有以下程序:
#include<stdio.h>
main( )
int c=0,k;
for(k=1;k<3;k++)
switch(k)
default:c+=k;
case2:c++;break;
case4:c+=2;break;
printf("%d/n",c);
程序运行后的输出结果是( )。
A:3 B:5 C:7 D:9
有以下程序:
#include<stdio.h>
main( )
int a[]=2,3,5,4,i;
for(i=0;i<4;i++)
switch(i%2)
case0:switch(a[i]%2)
case0:a[i]++;break;
case1:a[i]--;
break;
case1:a[i]=0;
for(i=0;i<4;i++)printf("%d",a[i]);printf("/n");
程序运行后的输出结果是( )。
A:3344 B:2050 C:3040 D:0304
某二叉树有5个度为2的结点以及3个度为1的结点,则该二叉树中共有______个结点。
程序流程图中的菱形框表示的是______。
软件开发过程主要分为需求分析、设计、编码与测试四个阶段,其中______阶段产生“软件需求规格说明书”。
在数据库技术中,实体集之间的联系可以是一对一或一对多或多对多的,那么“学生”和“可选课程”的联系为______。
人员基本信息一般包括:身份证号、姓名、性别、年龄等。其中可以作为主关键字的是______。
若有定义语句“int a=5;”则表达式a++的值是______。