Path: utzoo!attcan!uunet!spool2.mu.edu!sdd.hp.com!hplabs!hpcc05!hpcuhb!hpcllla!davee From: davee@hpcllla.cup.hp.com (Dave Elliott) Newsgroups: comp.lang.c Subject: Re: How to pass arbitrary 2-d array argument ? Message-ID: <7330029@hpcllla.cup.hp.com> Date: 8 Jan 91 18:22:13 GMT References: <1991Jan6.044056.23028@noose.ecn.purdue.edu> Organization: Hewlett-Packard Calif. Language Lab Lines: 15 I'm just a C novice, so maybe I'm way off base here... but isn't the solution something like the following: madd(a, b, c, m, n) double *a, *b, *c; int m, n; { double *end; end = a + m * n; for ( ; a