Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!sun-barr!decwrl!shlump.nac.dec.com!engage.enet.dec.com!oldtmr!wallace From: wallace@oldtmr.dec.com (Ray Wallace) Newsgroups: comp.lang.c Subject: Re: Passing 2-D Arrays of unknown size ? Message-ID: <1387@engage.enet.dec.com> Date: 20 Dec 89 20:04:57 GMT Sender: news@engage.enet.dec.com Organization: Digital Equipment Corporation Lines: 29 In article <3180@uceng.UC.EDU>, mfinegan@uceng.UC.EDU (michael k finegan) writes... > Is there a method for passing/using multi-D arrays in subroutines, >without specifying the column (fastest changing) dimension in advance ? No way Your solution_func3() is what I would use with a slight modification to illiminate the calculation drawback you mention... solution_func3(array,rows,cols) char *array; int rows, cols; { int i,j; for(i=0, i