C语言题库
提供C语言相关考试试题、历年真题、模拟试题和答案解析,支持在线查看与练习。
科目:
全部
最新收录试题
单选题
C语言
有以下程序
struct S
{ int a,b;}data[2]={20,100,30,200};
main( )
{  
2018-02-01
收藏 0 次
单选题
C语言
有以下程序
struct ord
{ int x,y;}dt[2]={2,4,6,8};
main( )
{
struct ord *p=dt;
printf
2018-02-01
收藏 0 次
单选题
C语言
有以下定义和语句
struct workers
{int num;
char name[60];
char c;
srruct
{int day;int
2018-02-01
收藏 0 次
单选题
C语言
面结构体的定义语句中,错误的是( )
2018-02-01
收藏 0 次
单选题
C语言
若有以下语句
typedef structT
{int g; char h;}S;
以下叙述中正确的是( )
2018-02-01
收藏 0 次
单选题
C语言
以下程序运行后的输出结果是。
main( )
{ char *p; int i;
p=(char *)malloc(si
2018-02-01
收藏 0 次
单选题
C语言
有以下程序
#define S(x) 4*x+1
main( )
{ int k=7,j=2;
printf("%d\n"
2018-02-01
收藏 0 次
单选题
C语言
有以下程序
#include <stdio.h>
#define f(x) x*x
main( )
{int a=3,s,t;
s=f(a+1);
2018-02-01
收藏 0 次
单选题
C语言
以下函数的功能是:通过键盘输入数据,为数组中的所有元素赋值。
#define N 10
void array(int x[N])
{  
2018-02-01
收藏 0 次
单选题
C语言
有以下程序
#include<stdio.h>
#define PT 3.5;
#define S(x) PT*x;
main( )
{int a
2018-02-01
收藏 0 次
单选题
C语言
#include<stdio.h>
f(int a)
{
int b=0;
int c=3;
&nbs
2018-02-01
收藏 0 次
单选题
C语言
C语言中默认的静态存储类说明是( )
2018-02-01
收藏 0 次
单选题
C语言
存放变量在寄存器里的定义是( )
2018-02-01
收藏 0 次
单选题
C语言
在一个C语言源程序文件中所定义的局部变量,其作用域为( )
2018-02-01
收藏 0 次
单选题
C语言
放在所有函数外边的变量对程序中的任一函数而言,它们是( )
2018-02-01
收藏 0 次
单选题
C语言
请在函数fun的横线上应填写下面选项那个语句
式,使从键盘上输入一个整数n,输出斐波数列,如:0 1 1 2 3 5 8 13………
#include <stdio.h>
2018-02-01
收藏 0 次
单选题
C语言
如果有以下说明和定义:
#include<stdio.h>
main( )
.{
int(*a)(int),*b( ),w[
2018-02-01
收藏 0 次
单选题
C语言
以下叙述那个是不正确的
2018-02-01
收藏 0 次
单选题
C语言
#include<stdio.h>
int f(int x,int y)
{return (y*x);}
main( )
{  
2018-02-01
收藏 0 次
单选题
C语言
#include <stdio.h>
fun(int x)
{ if(x/3>0) fun(x/3);
 
2018-02-01
收藏 0 次