APP下载
首页
>
财会金融
>
C语言程序设计判断题
搜索
C语言程序设计判断题
题目内容
(
判断题
)
7.7&3+12的值是15。

答案:B

C语言程序设计判断题
53.函数strlen("ASDFG\n")的值是7。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-5976-c0d6-3f0ad517a300.html
点击查看题目
29.int i=20;switch(i/10){case 2:printf("A");case 1:printf("B");}的输出结果为A。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-190d-c0d6-3f0ad517a300.html
点击查看题目
20.若有int ⅰ=10, j=0;则执行完语句if (j=0)ⅰ+ +; else ⅰ- -; ⅰ的值为11。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-0219-c0d6-3f0ad517a300.html
点击查看题目
18.int i,*p=&i;是正确的C说明。
https://www.shititong.cn/cha-kan/shiti/00018936-3286-fd82-c0d6-3f0ad517a300.html
点击查看题目
58. 字符处理函数strcpy(str1,str2)的功能是把字符串1接到字符串2的后面.
https://www.shititong.cn/cha-kan/shiti/00018936-3287-6601-c0d6-3f0ad517a300.html
点击查看题目
3.如果有一个字符串,其中第十个字符为'\n',则此字符串的有效字符为9个。
https://www.shititong.cn/cha-kan/shiti/00018936-3286-d31a-c0d6-3f0ad517a300.html
点击查看题目
49. C语言的switch语句中case后可为常量或表达式或有确定值的变量及表达式.
https://www.shititong.cn/cha-kan/shiti/00018936-3287-4c98-c0d6-3f0ad517a300.html
点击查看题目
50. 进行宏定义时,宏名必须使用大写字母表示。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-4e85-c0d6-3f0ad517a300.html
点击查看题目
54.char c[]="Very Good"; 是一个合法的为字符串数组赋值的语句。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-5c9a-c0d6-3f0ad517a300.html
点击查看题目
12.若有宏定义:#define S(a,b) t=a;a=b;b=t由于变量t没定义,所以此宏定义是错误的。
https://www.shititong.cn/cha-kan/shiti/00018936-3286-ef84-c0d6-3f0ad517a300.html
点击查看题目
首页
>
财会金融
>
C语言程序设计判断题
题目内容
(
判断题
)
手机预览
C语言程序设计判断题

7.7&3+12的值是15。

答案:B

分享
C语言程序设计判断题
相关题目
53.函数strlen("ASDFG\n")的值是7。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-5976-c0d6-3f0ad517a300.html
点击查看答案
29.int i=20;switch(i/10){case 2:printf("A");case 1:printf("B");}的输出结果为A。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-190d-c0d6-3f0ad517a300.html
点击查看答案
20.若有int ⅰ=10, j=0;则执行完语句if (j=0)ⅰ+ +; else ⅰ- -; ⅰ的值为11。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-0219-c0d6-3f0ad517a300.html
点击查看答案
18.int i,*p=&i;是正确的C说明。
https://www.shititong.cn/cha-kan/shiti/00018936-3286-fd82-c0d6-3f0ad517a300.html
点击查看答案
58. 字符处理函数strcpy(str1,str2)的功能是把字符串1接到字符串2的后面.
https://www.shititong.cn/cha-kan/shiti/00018936-3287-6601-c0d6-3f0ad517a300.html
点击查看答案
3.如果有一个字符串,其中第十个字符为'\n',则此字符串的有效字符为9个。
https://www.shititong.cn/cha-kan/shiti/00018936-3286-d31a-c0d6-3f0ad517a300.html
点击查看答案
49. C语言的switch语句中case后可为常量或表达式或有确定值的变量及表达式.
https://www.shititong.cn/cha-kan/shiti/00018936-3287-4c98-c0d6-3f0ad517a300.html
点击查看答案
50. 进行宏定义时,宏名必须使用大写字母表示。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-4e85-c0d6-3f0ad517a300.html
点击查看答案
54.char c[]="Very Good"; 是一个合法的为字符串数组赋值的语句。
https://www.shititong.cn/cha-kan/shiti/00018936-3287-5c9a-c0d6-3f0ad517a300.html
点击查看答案
12.若有宏定义:#define S(a,b) t=a;a=b;b=t由于变量t没定义,所以此宏定义是错误的。
https://www.shititong.cn/cha-kan/shiti/00018936-3286-ef84-c0d6-3f0ad517a300.html
点击查看答案
试题通小程序
试题通app下载