【代码】
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define N 200
void seek(char s[])
{
char* p = s;
char* start = s;
int i, j, len, count = 0, arr[20], maxlen;//count用于表示现在是第几个单词
int countforend = 0;
const int num = strlen(s);//s的长度
for (i = 0; i < num; i++)//遍历s