C語言:用遞歸函數DigitSum(n)實現輸入1729,輸出sum=1+7+2+9=19的值
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h>in
C語言:編寫reverse_string(char * string)(遞歸實現)函數,將參數字符串中的字符反向排列
#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h> v
C語言:模擬實現strstr函數,若是子串,輸出子串後面的字符串,否則輸出null
#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>#include<assert.h>