home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 16637 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  867 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!uwm.edu!rutgers!ub!dsinc!pitt.edu!pitt!fahad
  2. From: fahad@cs.pitt.edu (Fahad A Hoymany)
  3. Newsgroups: comp.lang.c
  4. Subject: 2-D Arrays, Revisited.
  5. Message-ID: <17489@pitt.UUCP>
  6. Date: 17 Nov 92 00:45:13 GMT
  7. Sender: news@cs.pitt.edu
  8. Organization: Univ. of Pittsburgh Computer Science
  9. Lines: 10
  10.  
  11. I asked about this before and I read the FAQ list but there was no answer.
  12. I'll try to state the problem more clearly this time.
  13.  
  14. I am writing a function that should accept a 2-D array (hopefully of any
  15. size), operate on that array, and returns 'anything' to the caller. Please
  16. don't suggest I use double pointers because I do not want to restrict the 
  17. users of my function to use them when they are used to declaring arrays
  18. as : int a[2][5]. 
  19.  
  20. What should the formal parameters line look like?
  21.