#include <string.h>
char *strfry(char *string);
#include <stdio.h>
#include <string.h>
int main()
{
char str[] = "hello linux world";
int i;
for (i = 0; i < 4; i++)
printf ("str[] = \"%s\"\n", strfry(str));
return 0;
}
./strfry
str[] = "d i loewulrlhonlx"
str[] = "hulnlo leoiwxrld "
str[] = "idelxw l ulnlrhoo"
str[] = "oodll hliuwrne lx"
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |