InputString : "I am unwell" "We need to go to the doctor" "How long will it take?".
OutputString: I am unwell We need to go to the doctor How long will it take?
该字符串需要清除所有出现的char ".我可以想到以下的认可
"重复步骤1和2,直到strchr()返回NULL指针.
我觉得这是解决这个问题的非常低效的方法.我需要知道,如果还有其他方法可以实现这一目标吗?伪代码或实际代码都将受到赞赏.