>>p=poly(4,3)的运行结果是:
相似题目
-
有程序:DATAA,B,C/4.0,-8.0,3.0/P=B*B-4*A*CIF(P.GE.0.0)THENS=(-B+SQRT(P))/(2*A)T=C/(A*S)P=(S+T)/2ELSES=0T=0ENDIFWRITE(*,*)PEND执行此程序,则运行的结果是:()
-
下面程序段的运行结果是( )注意输出结果的格式#include void main(){char *p=”abcdefgh”;p+=3;printf(%s\n,p);}
-
以下程序段的运行结果是。chara[]=abcdefg,*p;p=a;*(p+3)+=2;printf(ch=%c\n,*(p+5));
-
有以下程序,其运行结果是______。 #include void main() { int a[]={1,2,3,4},y,*p=&a[3]; ++*p; y=*p--; printf('y=%d',y); }
-
以下程序的运行结果是【1】,其算法是【2】。main(){int a[5]={9,6,8,3,-1},i,j,t,p;sort(a);for(i=0;i<=4;i++)printf(\%3d\,a[i]);}sort(int a[]){int i,j,t,p;for(j=0;j<4;j++){p=j;for(i=j;i<=4;i++)if(a[i]
-
以下程序的运行结果是______。#include main(){struct s{int n;int *m;} *p;int d[5]={10,20,30,40,50};struct s arr[5]={100,&d[0],200,&d[1],300,&d[2],400, &d[3],500,&d[4]};p=arr;printf(\%d,\,++p->n);printf(\%d,\,(++p)->n);printf(\%d\\n\,++(*p->m));}
-
以下程序的运行结果是inta[10]={1,2,3,4,5,6,7,8,9,10};int*p=&a[3],*q=p+2;printf(\%d\\n\,*p+*q);
-
有下列程序: #include void main( ) { int a[]={1,2,3,4},y,*p=&a[3]; --p; y=*p; printf(\y=%d\\n\,y); } 程序运行结果是( )。
-
下列程序运行后的输出结果是__________。main(){int x[ ]={0,1,2,3,4,5,6,7,8,9};int s, i,*p;s=0;p=&x[0];for(i=1;i<10;i+=2)s+=*(p+i);printf (“sum=%d”,s);}
-
下列程序运行后的输出结果是__________。main(){int b[10]={5,4,3,2},*p;for(p=b;p
-
#include struct ord { int x,y;} dt[2]={1,2,3,4}; main( ) { struct ord *p=dt; printf ( “%d,”,++p->x ) ; printf ( “%d”,++p->y ) ; } 程序的运行结果是
-
有以下程序: point(char *p){p+=3;} main() {char b[4]={'a','b','c','d',},*p=b; point(p);printf("%c\n",*p); } 程序运行后的输出结果是 ______。
-
有以下程序,程序运行后的输出结果是() main() {int a[10]={1,2,3,4,5,6,7,8,9,10),*p=&a[3],*q=p+2; printf("%d\11",*p+*q); }
-
有以下程序: include<stdio.h> struct tt {int x;struct tt*y;}*p; struct tt a[4]={20,a+1,15,a+2,30,a+3,17,a} main() { int i; p=a; for(i=1;i<=2;i++){printf("%d",p->x);p=P->y;} } 程序的运行结果是()。
-
下列程序的运行结果是()。 include<stdio.h> void fun(int*s,int*p) { static int t=3; *p=s[t]; t--; } void main() { int a[]={2,3,4,5},k; int x; for(k=0;k<4;k++) { fun(a,&x); printf("%d,",x); } }
-
读下面的:includevoid main(){static int a[]={1,2,3,4,5};int *p=a;printf();printf();}写出运行的结果、
-
以下程序运行后的输出结果是【 】。 main() { int p=30; printf("%dkn",(p/3>0?p/10:
-
有以下程序: include<stdio.h> main() { int a[]={1,2,3,4},y,*p=&a[3]; --p;y=*p;printf("y=%d\n",y); } 程序的运行结果是()。
-
Agreate 命令(aggregateipy4-address{maskmask-length}【as-setattribute-policyroute-policy-name1detail-suppressedorigin-poli cyroutepolicy-name2suppresspolicyroute-policy-name3】)可以通过多种参数控制聚合过程和结果,下面描述错误的是()
-
有以下程序:include<stdio.h>main{inta[]={1,2,3,4},y,*p=&a[3];--p;y=*p;printf(y=%d\n,y);}程序的运行结果是
-
" void main(){int a【5】={1,2,3,4,5},*p=a;p+=2;printf(""%d"",p【0】);}程序的输出结果是
-
有以下程序point(char *p) p+=3;main()char b[4]='a','b','c','d',*p=b;point(p); printf("%c\n",*p);程序运行后的输出结果是______。
-
有以下程序: main() int a[10]=1,2,3,4,5,6,7,8,9,10,*p=&a[3],*q=p+2; printf("%d",*p,*q); 程序运行后输出的结果是()。
-
有以下程序:程序运行后的输出结果是()。main(){ int a[]=(2 ,4,6,8,10},y=0,x,*P;p=&a[1];for(x=1;x<3;x++) y+=p[x];printf("%d\n ,y");}