mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 15:41:59 +00:00
20 lines
262 B
R
20 lines
262 B
R
|
int array[3] = { -1, -1, -1 };
|
||
|
|
||
|
int array_index (void)
|
||
|
{
|
||
|
int i = 0;
|
||
|
|
||
|
for (int c = 0; c < 3; c++) {
|
||
|
array[i++] = 0;
|
||
|
}
|
||
|
return i == 3 && !(array[0] | array[1] | array[2]);
|
||
|
}
|
||
|
|
||
|
int
|
||
|
main ()
|
||
|
{
|
||
|
int ret = 0;
|
||
|
ret |= !array_index ();
|
||
|
return ret;
|
||
|
}
|