C语言题库
提供C语言相关考试试题、历年真题、模拟试题和答案解析,支持在线查看与练习。
科目:
全部
最新收录试题
单选题
C语言
以下选项中不合法的标识符是( )
2013-09-11
收藏 2 次
单选题
C语言
按照C语言规定的用户标识符命名规则,不能出现在标识符中的是( )
2013-09-11
收藏 3 次
单选题
C语言
用C语言编写的代码程序( )
2013-09-11
收藏 4 次
单选题
C语言
下列叙述中错误的是( )
2013-09-11
收藏 4 次
单选题
C语言
C语言源程序名的后缀是( )
2013-09-11
收藏 0 次
单选题
C语言
下列叙述中错误的是( )
2013-09-11
收藏 0 次
简答题
C语言
请编写函数proc(),它的功能是计算:s=(In(1)4+ln(2)4+ln(3)+…+In(m))0.5
在C语言中可调用log(n)函数求ln(n)。
例如,若m的值为30
2013-08-17
收藏 0 次
简答题
C语言
下列给定程序中,函数proc()的功能是:读入一个字符串(长度<20),将该字符串中的所有字符按ASCIl码升序排序后输出。
例如,输入opdye,则应输出deopy。
2013-08-17
收藏 0 次
填空题
C语言
str是一个由数字和字母字符组成的字符串,由变量num传人字符串长度。请补充函数proc(),该函数的功能是:把字符串str中的数字字符转换成数字并存放到整型数组bb中,函数返回数
2013-08-17
收藏 0 次
单选题
C语言
有以下程序:
#include<stdio.h>
main( )
{ FILE*fp; int i,a[6]={1,2,3,4
2013-08-17
收藏 5 次
单选题
C语言
若有定义语句int b=2;,则表达式(b<<2)/(3||b)的值是( )。
2013-08-17
收藏 0 次
单选题
C语言
以下叙述中错误的是( )。
2013-08-17
收藏 0 次
单选题
C语言
以下叙述中错误的是( )。
2013-08-17
收藏 4 次
单选题
C语言
有以下程序:
#include<stdio.h>
struct STU{char name[9];char sex;int score[2];};
void f(
2013-08-17
收藏 8 次
单选题
C语言
有以下程序:
#include<stdio.h>
#include<stdlio.h>
void fun(int*pl,int*p2,int*s)
{&
2013-08-17
收藏 3 次
单选题
C语言
有以下程序:
#include<stdio.h>
void func(int n)
{ static int num=1);
num=num+n;p
2013-08-17
收藏 1 次
单选题
C语言
有以下程序:
#include <stdio.h>
int a=1,b=2:
void funl(int a,i
2013-08-17
收藏 1 次
单选题
C语言
有以下程序:
#include<stdio.h>
main( )
{ char a[5][10]={"one","tw0","three","four","fi
2013-08-17
收藏 0 次
单选题
C语言
有以下程序:
#include<stdio.h>
main( )
{ char*s="[2]34";int k=0,a=0;
whil(s[k+1
2013-08-17
收藏 4 次
单选题
C语言
以下选项中,合法的是( )。
2013-08-17
收藏 0 次