填空题

若a=10,b=20,则表达式!(a<b)的值是 【7】 。

【参考答案】

0
<上一题 目录 下一题>
热门 试题

填空题
下面程序有两个printf语句,如果第一个printf语句输出的是194,则第二个printf语句的输出结果是 【10】 。main() int a[10]=1,2,3,4,5,6,7,8,9,0,*p; p=a; printf( %x n ,p); printf( %x ,p+9);
填空题
以下程序的功能是建立一个带有头结点的单向链表,链表结点中的数据通过键盘输入,当输入数据为-1时,表示输入结束(链表头结点的data域不放数据,表空的条件是ph->next==NULL),请填空。 #include <stdio.h> struct list int data;struct list *next;; struct list *creatlist( ) struct list *p,*q,*ph;int a;ph=(struct list*)malloc(sizeof(struct list)); p=q=ph;printf( Input an integer number;entre-1 to end: n ); scanf( %d ,&a); while(a!=-1) p=(struct list*)malloc(sizeof(struct list)); ______=a;q->next=p;______=p;scanf( %d ,&a); p->next=’ 0’;return(ph); main( ) stuct list * head;head=creatlist();
相关试题
  • 数据独立性分为逻辑独立性与物理独立性。当...
  • 一棵二叉树的中序遍历结果为DBEAFC,前序遍...
  • 若有定义int a=10,b=9,c=8;,接...
  • 以下程序的运行结果是______。 #in...