Advertisement

references

Started by June 01, 2002 11:19 PM
1 comment, last by jar 22 years, 5 months ago
in c++, how do you pass multi-dimensional arrays by reference?
char _2d_array[12][12];

void func (char **a)
{
...
}

func (_2d_array);

only the memory reference to _2d_array is passed to the function.
Advertisement
Thanks!!!

This topic is closed to new replies.

Advertisement