From: "Jon" Newsgroups: comp.os.msdos.djgpp Subject: Passing array to function trouble. Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: Date: Mon, 15 Jan 2001 00:23:56 +0100 NNTP-Posting-Host: 130.67.203.50 X-Complaints-To: news-abuse AT nextra DOT no X-Trace: news1.oke.nextra.no 979514583 130.67.203.50 (Mon, 15 Jan 2001 00:23:03 MET) NNTP-Posting-Date: Mon, 15 Jan 2001 00:23:03 MET Organization: Nextra Public Access To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Does anyone know how I can pass an array like this: char a[20][30]; to a function? How would the prototype for a function which would take this as an argument, and how should it be passed to the function?