二级 C 语言程序设计教程课后习题答案(高教版)刊登日期:3 月 3 日 已有 4929 位读者读过此文第一章【1-1】.exe【1-2】.c .obj .exe 【1-3】顺序,分枝(选取),循环第二章【2-1】B 【2-2】D【2-3】B【2-4】A【2-5】C【2-6】A【2-7】B【2-8】B【2-9】A【2-10】C【2-11】B【2-12】B【2-13】A【2-14】11,12【2-15】4.2,4.2【2-16】{,},定义阐明,执行语句【2-17】核心字,顾客标记符【2-18】int,float,double【2-19】float a=b=1;【2-20】存贮单元【2-21】3.5【2-22】a*b/c,a/c*b,b/c*a【2-23】把 10 给予变量 s【2-24】bit,0/1【2-25】8,127,01111111,-128,10000000(补码) 【2-26】32767,-32768,1111,0000【2-27】8,10,16【2-28-1】(错误)#include stdio.h;main() / * main function * / float r,s;/*/*r is radius*/,/* s is area of circular */*/ r=5.0; s=3.14159*r*r; printf("%f\n",s)【2-28-2】(对的)#include stdio.h;main() /* main function */ {float r,s;/* r is radius,s is area of circular */ r=5.0; s=3.14159*r*r; printf("%f\n",s); }【2-29-1】(错误)#include stdio.hmain /* main function */{ float a,b,c,v;/* a,b,c are sides,v is volume of cube */ a=2.0;b=3.0;c=4.0 v=a*b*c; printf("%f\n",v)}【2-29-2】(对的)#include main() /* main function */{ float a,b,c,v;/* a,b,c are sides,v is volume of cube */ a=2.0;b=3.0;c=4.0; v=a*b*c; printf("%f\n",v);}第三章【3-1】C 【3-2】C 【3-3】D 【3-4】C 【3-5】D 【3-6】B 【3-7】C 【3-8】D 【3-9】A 【3-10】B 【3-11】C 【3-12】D 【3-13】D【3-14】C 【3-15】C 【3-16】C 【3-17】C 【3-18】A 【3-19】C【3-20】B 【3-21】(1)-200 2500(2)i=-200,j=2500(3)i=-200//(换行)j=2500【3-22】12,0,0【3-23】一条语句,;【3-24】;【3-25】100 25.81 1.89234,100//25.81//1.89234,100//25.81 1.89234【3-26】x=127,x= 127,x= 177,x= 7f,x= 127【3-27】x=127,x=127 ,x=$127 ,x=$000127,x=%06d【3-28】a=513.789215,a= 513.79,a= 513.78921500,a= 513.78921500【3-29-1】(错误)main{ double a,b,c,s,v; printf(input a,b,c:\n); scanf("%d %d %d",a,b,c); s=a*b; v=a*b*c; printf("%d %d %d",a,b,c); p...