运行下面程序段的输出结果是( )。int n,a,s=0,p=1,i;n=2;a=2;for(i=1;i<=n;++i) {p=p*a;s+=p;} printf("\ns(%d,%d)=%d",a,i,s); 下面 结果是 输出 发布时间:2024-05-05 16:45:44