摘要:
#include <stdio.h>#include <stdlib.h>void point(char *pt);void point2(char *pt);void point3(char **pt);int main() { char b[4] = { 'a', 'c', 's', 'f' }; char *pt = b; point(pt); printf("%c\n", *pt); point2(pt); printf("%c\n", *pt); pt=b; 阅读全文
摘要:
#include <stdio.h> #include <stdlib.h> #include <string.h> #define CH "%c" #define DG "%d" //求最长的回文字串 判断回文不算符号 //但是最后输出的时候需要计算符号 //样例输入 //She say:Madam,I'm Adam. //样例输出 //Madam,I'm Adam int isHui(char str[],int start, int endi); int isLetter(char ch); in 阅读全文