smartz993 I post too much
Reputation: 2 Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Sun Nov 01, 2009 10:24 am Post subject: |
|
|
What you would need to do is pass a reference to the array, so as your argument type ([] is invalid and can't be used) you can make it a pointer by prefixing the variable name with a *.
Code: |
void func(char *array)
{
array[0] = '\0';
}
|
|
|