【PTA 6-9】 字符串删除重复字符

【PTA 6-9】 字符串删除重复字符_第1张图片

/* 请在这里填写答案 */
int my_strlen(const char* str){
	int count=0;
//	assert(str!=NULL);
	while(*str!='\0')
	{
		count++;str++;
	} 
	return count;
}
void fun(char str[]){
	int len=my_strlen(str);
	int i=0,j=0;
	char t='0';
	for(i=0;i

你可能感兴趣的:(pta,c语言,c#)