void rightrotate(string &s, int d). {. leftrotate(s, s.length()-d);. } // Driver code. int main(). {. string str1 = "GeeksforGeeks" ;.
確定! 回上一頁