hey i am trying to learn pointers and references.

how can i pass an array of characters by reference to a function?

Code:
void funct(char *text)
{
	cout << *text << endl;
	*text = 'c';
}

int main()
{
	char text;
	cin >> text;
	funct(&text);
	cout << text << endl;
	return 0;
}
this works with one character but i can't figure out how to make it work with an array