Description: 两个字符串连接程序
#include "stdio.h"
main()
{char a[]="acegikm"
char b[]="bdfhjlnpq"
char c[80],*p
int i=0,j=0,k=0
while(a[i]!= \0 &&b[j]!= \0 )
{if (a[i] { c[k]=a[i] i++ }
else
c[k]=b[j++]
k++
}
c[k]= \0
if(a[i]== \0 )
p=b+j
else
p=a+i
strcat(c,p)
puts©
}
To Search:
File list (Check if you may need any files):
操作系统设计.doc