[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Passing arrays in C


What I think is you pass a void pointer and do a valid and robust
arithmatic, no need to juggle for syntax..

 Immature opinion but I think it should work..


On Thu, 30 Mar 2000, Nick Hill wrote:

> pass it as an a pointer to an array. like if u want to
> pass a[10][10][10], u can prototype the function as
> ***a, and then pass the call the fn. with a as the
> arg. I dunno if i'm COMPLETELY right, but atleast
> thats how i used to pass multi-dim arrays muhself...
> Nikhil.