1 / 46
文档名称:

C语言最后练习ppt课件.ppt

格式:ppt   大小:237KB   页数:46页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

C语言最后练习ppt课件.ppt

上传人:相惜 2021/4/19 文件大小:237 KB

下载得到文件列表

C语言最后练习ppt课件.ppt

相关文档

文档介绍

文档介绍:练****题
1
最新版整理ppt
答:输出结果是5。
3.在C语言中,如果下面的变量都是int类型,则输出的结果是( )。 sum=pad=5,pAd=sum++,pAd++,++pAd;
printf("%d\n",pad);
2
最新版整理ppt
答:18
5.下面程序的输出是( )。
#include <>
void main()
{ int x=023;
printf("%d\n",--x);
}
3
最新版整理ppt
答:20
7.执行下面程序中的输出语句后 a的值是( )。
#include <>
void main()
{ int a;
printf("%d\n",(a=3*5,a*4,a+5));
}
4
最新版整理ppt
答:D)
8.以下程序的输出结果是( )。
#include<>
void main()
{int a=2,c=5;
printf("a=%%d,b=%%d\n",a,c);
}
A)a=%2,b=%5 B)a=2,b=5 C)a=%%d,b=%%d D)a=%d,b=%d
5
最新版整理ppt
答:B)
9.以下程序的输出结果是( )。
#include<>
void main()
{ int a,b,d=241;
a=d/100%9;
b=(-1)&&(-1);
printf("%d,%d\n",a,b);
}
A)6,1 B)2,1 C)6,0 D)2,0
6
最新版整理ppt
答:5
10.请选出以下语句的输出结果( )。
printf("%d\n",strlen("\t\"\065\xff\n"));
7
最新版整理ppt
答:0
11.下面程序的输出结果是( )。
int i = 65536;
printf("%d\n", i);
8
最新版整理ppt
答:5
12.若有说明和语句:
int a=5;
a++;
此处表达式a++的值是( )。
9
最新版整理ppt
答:+02
15.若x为double变量,则以下语句( )。
x=;
printf("%-\n",x);
10
最新版整理ppt