AI智能整理导入 AI智能整理导入
×
首页 题库中心 C语言程序设计课程 题目详情
CA10C9C1E3800001827578971F85F6C0
C语言程序设计课程
1,216
填空题

89、数学表达式100<a或者a<-20改写为C语言表达式是________。注:表达式要在英文半角状态下按原表达式顺序书写,且表达式中不要留空格。

答案解析

正确答案: 1:100100||a<-20#a<-20||a>100#100a#-20>a||100100||-20>a#-20>a||a>100
评析:
知识点:知识点/运行结果/C4关系运算符T
C语言程序设计课程

扫码进入小程序
随时随地练习

相关题目

单选题

313、请读程序:
#include
int a[ ]={2,4,6,8};
main( )
{
int i;
int *p=a;
for( i=0;i<4;i++) a[i]=*p++;
printf("%d\n",a[2]);
}
上面程序的输出结果是______。

单选题

312、请读程序:
#include
func( ){
int c;
c=a+b;
return c;
}
main( ) {
int x=6,y=7,z=8,r;
r=func(

单选题

311、请读程序:
#include
#include
main()
{
char *s1="AbCdEf", *s2="aB";
s1++; s2++;
printf("%d\n",strcmp(s1,s2) );
}
上面程序的输出结果是______。

单选题

310、以下选项中,能定义s为合法的结构体变量的是______。

单选题

309、以下程序的输出结果是______。
main()
{ int a=-1,b=1, k;
if((++a<0)&&!(b--<=0))
printf( );
else
printf( );
}

单选题

308、若已定义:int a[9],*p=a;并在以后的语句中未改变p的值,不能表示a[1]地址的表达式是______。

单选题

307、以下程序的输出结果是______。
main()
{ char a[10]={'1','2','3','4','5','6','7','8','9',0},*p;
int i ;
i=8;
p=a+i;
printf("%s\n",p-3);
}

单选题

306、以下程序的输出结果是______。
main()
{ int i,x[3][3]={9,8,7,6,5,4,3,2,1},*p=&x[1][1];
for(i=0;i<4;i+=2) printf( );
}

单选题

305、以下程序的功能是:建立一个带有头结点的单向链表,并将存储在数组中的字符依次转储到链表的各个结点中,请为下划线处有号码的选择出正确的选项。
#include
stuct node
{ char data; struct node *next;};
______ CreatList( )
{ struct node *h,*p,*q);
p=q=h;
p->data=______ ;
q->next=p;
s++;
}
p->next='\0';
return h;
}
{ char str[]="link list";
struct node *head;
...
}

单选题

304、以下程序的功能是:建立一个带有头结点的单向链表,并将存储在数组中的字符依次转储到链表的各个结点中,请为下划线处有号码的选择出正确的选项。
#include
stuct node
{ char data; struct node *next;};
______ CreatList( )
{ struct node *h,*p,*q);
p=q=h;
q->next=p;
q=______ ;
s++;
}
p->next='\0';
return h;
}
{ char str[]="link list";
struct node *head;
...
}

关闭
专为自学备考人员打造
试题通
自助导入本地题库
试题通
多种刷题考试模式
试题通
本地离线答题搜题
试题通
扫码考试方便快捷
试题通
海量试题每日更新
试题通
欢迎登录试题通
可以使用以下方式扫码登陆
试题通
使用APP登录
试题通
使用微信登录
xiaochengxu
联系电话:
400-660-3606
xiaochengxu