Saturday, May 22, 2010

Plzz help me out! How to pass a 2-D array from main() to other function in C, using pass by value.....?

Duplicate the original in the main() funtion then pass a pointer to the new 2D array.

Plzz help me out! How to pass a 2-D array from main() to other function in C, using pass by value.....?
i don't think you can do it....arrays are passed using refrence only....but im not sure...


No comments:

Post a Comment