Using array with pointers

Hi, can anyone show an example of a program with arrays, and char functions? Like for example, the function is

char nameFunction (char a, char b)

and char a is declared as char data1 [n] = 'dataname";
char b = char data2 [n] = 'dataname2';

and I want to print char a and char b? Some related links would help as well =)
Topic archived. No new replies allowed.