This is a continuation of my previous question.
So far this what I have...the for loop finds the length of the string but I don't understand how to write the function that will pass the array.
#include <stdio.h>
#include <stdlib.h>
main()
{
int i;
char a[];
char b[];
for ( i = 0; a[i] != '\0'; i++ );
return i;