home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
tests2.2a
/
arrayparam.c
< prev
next >
Wrap
Text File
|
1997-09-03
|
330b
|
31 lines
int f1(int x[2][]) /* bad */
{
return x[2][3];
}
int f2(int x[][2]) /* okay */
{
return x[2][3];
}
int f3(int x[][]) /* bad */
{
return x[2][3];
}
int f4(int x[][][2]) /* bad */
{
return x[2][3][1];
}
int f5(int x[2][][2]) /* bad */
{
return x[2][3][1];
}
int f6(int x[][2][2]) /* okay */
{
return x[2][3][1];
}