<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[zwxhard的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/zwxhard</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; zwxhard]]></copyright><item><title><![CDATA[请定义一个函数实现字符串左旋转操作的功能]]></title><link>https://blog.youkuaiyun.com/zwxhard/article/details/114261479</link><guid>https://blog.youkuaiyun.com/zwxhard/article/details/114261479</guid><author>zwxhard</author><pubDate>Mon, 01 Mar 2021 14:02:41 +0800</pubDate><description><![CDATA[请定义一个函数实现字符串左旋转操作的功能。
例如输入字符串“qwertyu”和数字2，该函数将返回左旋转两位得到的结果“ertyuqw”
#include&lt;string.h&gt;
#include&lt;stdio.h&gt;
 
 int main()
 {
 int n,j,i;
 char str[100];
 printf("请输入字符串\n");
 scanf("%s",&amp;str);
 printf("请输入数字\n");
 scanf("%d",&amp;n);
 i = str]]></description><category></category></item></channel></rss>