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
相關文章
相關標籤/搜索