c实现寻找一串字符母串中的某子串出现次数并将子串倒序,输出这个字符串

#include <stdlib.h> #include <iostream> using namespace std; int inverse(char *temp,int num) //abcd-> dcba { if (temp == NULL)return -1; //int num = 0; //num = strlen(temp); char *p1 = temp; c
相关文章
相关标签/搜索