问答题
为了建立如图所示的链表,结点的正确描述形式是 struct node { int data; () };
struct node { int data; struct node *next; };
填空题 若有下面的定义: struct {int x;int y;}s[2]={{1 ,2},{3,4}},*p=s; 则表达式++p->x的值为();表达式(++p)->x的值为()。
问答题 编写函数实现,判断一个子字符串是否在某个给定的字符串中出现。
问答题 编写函数实现,计算一个字符在一个字符串中出现的次数。