Write a function that takes two pointers to char and copies the content of one a
ID: 3638921 • Letter: W
Question
Write a function that takes two pointers to char and copies the content of one array in reverse order into the other and returns the number of charaters in data1.The function should be defined as follows,
int reverse (char *data1, char *data2)
Since the array length is not passed into the function it should iterate (cycle) through the values till it sees a NULL ‘’ character
Please put comments on the program as much as you can so I can understand pointers