Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!osiris.cso.uiuc.edu!gordon From: gordon@osiris.cso.uiuc.edu (John Gordon) Newsgroups: comp.lang.c Subject: Re: prototyping (oh no! not again??) Message-ID: <1990Nov27.001813.9244@ux1.cso.uiuc.edu> Date: 27 Nov 90 00:18:13 GMT References: Sender: news@ux1.cso.uiuc.edu (News) Distribution: comp Organization: University of Illinois at Urbana Lines: 35 Given that you are passing an n-dimensional array to a function, you *MUST* explicitly provide at least n-1 of the dimensions in the argument declaration. For example: if my_array is a 4-dimensional array, you *must* explicitly provide at least 3 of the dimensions when you pass my_array to a function. main() { int my_array[6][5][4][3]; . . . } function_one(int array[6][5][4][]) { . . . } Note: There is a rule that governs which dimension may be left out; I think it is one of the end ones, but I am not sure which one. --- John Gordon Internet: gordon@osiris.cso.uiuc.edu #include gordon@cerl.cecer.army.mil #include