#include <stdio.h>
#include <string.h>
char * fun(char *s)
{
int len = strlen(s);
int i, n
编写一个子函数完成把传递来的字符串颠倒次序的功能,并在主函数中输入字符串(不超过80个字符),调用函数后,输出颠倒后的字符串。
最新推荐文章于 2023-01-03 10:59:24 发布
#include <stdio.h>
#include <string.h>
char * fun(char *s)
{
int len = strlen(s);
int i, n