F12L413柴油机的发火顺序是()。
A:1-5-3-8-10-7-6-11-2-9-4-12 B:1-8-5-10-3-7-6-11-2-9-4-12 C:1-10-3-8-7-11-6-9-2-4-12-5 D:1-8-5-10-7-3-6-11-2-9-4-12
道依茨柴油机BF12L513C各缸的发火顺序是()。
A:1-5-3-8-10-7-6-11-2-9-4-12 B:1-8-5-10-3-7-6-11-2-9-4-12 C:1-10-3-8-7-11-6-9-2-4-12-5 D:1-8-5-10-7-3-6-11-2-9-4-12
当执行下面的语句定义一维数组a后,此数组的所有元素为 ( )
inta[10];
A:a[1],a[2],a[3],a[4],a[5],a[6],a[8],a[9],a[10],a[10] B:a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9] C:a[0],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10] D:a[1],a[2],a [3],a[4],a [5],a [9],a [7],a [8],a [9],a [10],a [11]
有以下程序:
void sort(int a[],int n)
{
int i,j,t;
for(i=0;i<n;i++)
for(j=i+1;<n;j++)
if(a[i]<a[j]){ t=a[i]; a[i]=a[j]; a[j]=t; }
}
main( )
{int aa[10]={1,2,3,4,5,6,7,8,9,10},i;
sort(aa+2,5);
for(i=0;i<10;i++)printf("%d,",aa [i]);
printf("/n");
}
程序运行后的输出结果是【 】。
A:1,2,3,4,5,6,7,8,9,10, B:1,2,7,6,3,4,5,8,9,10, C:1,2,7,6,5,4,3,8,9,10, D:1,2,9,8,7,6,5,4,3,10,
有以下程序:
void sort(int a[],int n)
{
int i,j,t;
for(i=0;i<n;i++)
for(j=i+1;<n;j++)
if(a[i]<a[j]){ t=a[i]; a[i]=a[j]; a[j]=t; }
}
main( )
{int aa[10]={1,2,3,4,5,6,7,8,9,10},i;
sort(aa+2,5);
for(i=0;i<10;i++)printf("%d,",aa [i]);
printf("/n");
}
程序运行后的输出结果是【 】。
A:1,2,3,4,5,6,7,8,9,10, B:1,2,7,6,3,4,5,8,9,10, C:1,2,7,6,5,4,3,8,9,10, D:1,2,9,8,7,6,5,4,3,10,
有以下程序:
void sort(int a[],int n)
{
int i,j,t;
for(i=0;i<n;i++)
for(j=i+1;<n;j++)
if(a[i]<a[j]){ t=a[i]; a[i]=a[j]; a[j]=t; }
}
main( )
{int aa[10]={1,2,3,4,5,6,7,8,9,10},i;
sort(aa+2,5);
for(i=0;i<10;i++)printf("%d,",aa [i]);
printf("/n");
}
程序运行后的输出结果是【 】。
A:1,2,3,4,5,6,7,8,9,10, B:1,2,7,6,3,4,5,8,9,10, C:1,2,7,6,5,4,3,8,9,10, D:1,2,9,8,7,6,5,4,3,10,
有以下程序
程序运行后的输出结果是()。
A:1,2,3,4,5,6,7,8,9,10, B:10,9,8,7,6,5,4,3,2,1, C:9,2,7,4,5,6,3,8,1,10, D:1,10,3,8,5,6,7,4,9,2,