运行下面程序,输出结果是: include <stdio.h> int main() { int i = 10,j = 0; do { j = j + i; /*第一:10,第二:19第三:27第四:34第五:40*/ i--; }while(i > 5); printf(“%d\n”,j); }
相似题目
-
下面程序段的运行结果是( )注意输出结果的格式#include void main(){char *p=”abcdefgh”;p+=3;printf(%s\n,p);}
-
有以下程序#include<stdio .h>main(){char s[」=”rstuv;printf(”%c\n”,*s+2);}程序运行后的输出结果是
-
以下程序运行后输出的结果是________。 #include main() { int k=011; printf(%d\nk++); }
-
下面程序的输出结果是( )。 #include int main() { int s=023; printf(\%d\\n\,--s); return 0; }
-
有以下程序#include #include main(){ char str[ ][20]={“One*World”, “One*Dream!”},*p=str[1];printf(“%d,”,strlen(p));printf(“%s ”,p);}程序运行后的输出结果是( )
-
下面程序的输出结果是( ).#include \string.h\main( ){ char *p1=\abc\,*p2=\ABC\,str[50]= \xyz
-
有下列程序,程序运行后的输出结果是0( )。#include int main( ){int a[5]={1,2,3};printf(\%d \,a[3]);return 0;}
-
有以下程序include<stdio.h>main(){char s[]=“rstuv”;printf(“%c\n”,*s+2);}程序运行后的输出结果是()。
-
有以下程序: include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是()。
-
下面程序的运行结果是()。 include<iostream.h
-
下面程序的输出结果是()。 include<stdio.h> main() {int x=7,y=3; printf("%d",y=x/y); }
-
以下程序运行后的输出结果是【】。include<stdio.h>main(){int x=20;prinff(“%d”,0<x<2
-
以下程序运行后,输出结果是()。include<stdio.h>define PT 5.5define S(x)PT*x*Xmain{ int
-
include<stdio.h>main(); } 程序运行后的输出结果是
-
阅读以下程序,写出程序运行后的输出结果是 ______。include<iostream.h>void main(){char a[]={'
-
下面程序的输出结果是include<iostream.h>class example{ int a;public: example(int b){a=b++;
-
若运行下面程序时,给变量a输入15,则输出结果是 include <stdio.h> intmain() { int a,b; scanf("%d",&a); b=a>15?a+10:a-10; printf("%d\n",b) ; return 0; }
-
运行程序,程序输出结果是(). include <iostream> using namespace std; int main() { ch
-
有以下程序 include<stdio.h>include<string.h>void fun(); } 程序运行后的输出结果是
-
有以下程序includ<stdio.h>main(){printf("%"NUL);}程序运行后的输出结果是()
-
运行程序输入hello↙和world↙,写出输出结果。 include <stdio.h>
-
下面程序运行后输出的结果为: include int main(); return 0; }
-
以下程序若运行时输入ABC,则输出结果是______。 include include void main(); }
-
有以下程序include<stdio.h>main{charch[]=uvwxyz,*pc;pc=ch;printf(%c\n,*(pc+5));}程序运行后的输出结果是()
推荐题目
- 我国汽油规格要求实际胶质含量不得大于()毫克/100克
- 简述正常监控模式下机车信号信息异常控制?
- 小章在选择子女教育投资规划工具前,向理财师进行了咨询,大体上来说,教育投资规划工具可划分为长期教育投资规划工具和短期教育投资规划工具。以下选项中属于短期教育投资规划工具的是()
- 做好棉花种子准备工作的过程有:精选种子、晒种、()和包种衣剂。
- 集装箱化的优点有()。
- 阻车器阻爪和车轮间的最小间隙为()mm。
- 下列事件不影响净资产数额的是( )。
- 下列所描述的产品质量、工序质量和工作质量三者之间关系正确的是()。
- 当程序内分支数和循环数增加时,V(G)值将随之增加,即程序复杂性增大。()
- 简述少油断路器的灭弧原理?