请编写一个 C 函数,该函数在给定的内存区域搜索给定的字符,并返回该字符所在位置索引值。

匿名网友 匿名网友 发布于: 2015-08-30 00:00:00
阅读 104 收藏 0 点赞 0 评论 0

int search(char *cpSource, int n, char ch)
{
int i;
for(i=0; i

评论列表
文章目录