#include <cmath>
#include <cstdlib>
#include <iostream>
#include <string.h>
using namespace std;
int chack(int a[],int b[])
{
int i=0;
int *p=a,*q=b;
for(;*p!='\0';*p++)
{
if(*p==*q)
{
i++;
*q++;
}
}
}
int main()
{
char a[]="afsfsf",b[]="jkjkjkk";
int n;
strcat(a, b); // 串联接函数
strcmp(a, b); //串比较函数
printf("%d",strlen(a)); //strlen(a));求字符串的长度
system("PAUSE");
return 0;
}