Sending array's to functions by reference or pointers
Is it not possible to send the adress of the first element of an array to a function? I tried every possible combination, including:
That didn't seem to do the trick. I would think that doing that would send the address of the first element in the array. Am I wrong?
cout<<"Please enter a string: ";
void myFunction(char* array)
How is it done? Using arrays of pointers??