#include<iostream>
using namespace std;
void function1(char* &point_char)
{
	for(int i=0;i!=5;i++)
	{
	    cout<<*point_char<<ends;
	    point_char++;
	}
}
void function2(char* point_char)
{
	for(int i=0;i!=5;i++)
	{
	    cout<<*point_char<<ends;
	    point_char++;
	}
}
int main()
{
	char cha[11]="abcdefghij";
	char* point_char=cha;
	function1(point_char);
	function1(point_char);
	cout<<endl;
	point_char=cha;
	function2(point_char);
	function2(point_char);
    return 0;
}
