This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: variable length arrays as arguments to functions
- From: "Ashok.A" <ashokar at sankhya dot com>
- To: Maarten Speekenbrink <M dot Speekenbrink at uva dot nl>
- Cc: gcc-help at gnu dot org
- Date: Tue, 3 Jun 2003 16:38:37 +0530 (IST)
- Subject: Re: variable length arrays as arguments to functions
Hi,
> void MyFunc(int N, float my_matrix[N][N])
Have you tried as below?
void MyFunc(int N, float my_matrix[][])
Best Regards,
Ashok.A