皮皮学,免费搜题
登录
搜题
【简答题】
以下函数fun的功能是:构成—个如图所示的带头结点的单向,在结点的数据域中放入了具有两个字符的字符串。函数disp的功能是显示输出该单向中所有结点中的字符串。请填空完成函数disp。 include<stdio.h> typedef struct node /*结点结构*/ { char sub[3]; struct node *next; }Node; Node fun(char s) /* 建立*/ { ...... } void disp(Node *h) { Node *p; p=h->next; while([ ]) {printf('%s/n',p->sub);p=[ ];} } main() { Node *hd; hd=fun(); disp(hd);printf('/n'); }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】Runners in a relay race pass a stick in one direction. However, merchants passed silk, gold, fruit, and glass along the Silk Road in more than one direction. They earned their living by traveling the ...
【判断题】Java语言支持类的继承,但只支持类的单继承。
A.
正确
B.
错误
【单选题】维护社会道德的手段是( )
A.
法律手段
B.
行政手段
C.
舆论与教育手段
D.
组织手段
【判断题】Java 语言只支持单重继承,不支持多重继承 ( )
A.
正确
B.
错误
【判断题】Java语言只支持单重继承。
A.
正确
B.
错误
【判断题】Java语言只支持类的单继承,不支持类的多继承。
A.
正确
B.
错误
【单选题】Which one is the key to making silk?
A.
Animals' carefulness.
B.
The water content in its silk glands.
C.
The proteins.
D.
The mulberry leaves
【单选题】根据以下材料,回答题 New Understanding of Natural Silk's Mysteries Natural silk, as we all know, has a strength that manmade materials have long struggled to match. In a discovery that sounds more like an ancie...
A.
Right
B.
Wrong
C.
Not mentioned
【单选题】She removed ________ hat she was wearing and tried on ________ black silk one. [     ]
A.
a; a
B.
the; the
C.
the; a
D.
a; the
【简答题】Java语言只支持________继承。
相关题目: