references

Started by
1 comment, last by jar 21 years, 10 months ago
in c++, how do you pass multi-dimensional arrays by reference?
Advertisement
char _2d_array[12][12];

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

func (_2d_array);

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

This topic is closed to new replies.

Advertisement