File: test20.ci

package info (click to toggle)
clif 0.92-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,580 kB
  • ctags: 2,814
  • sloc: ansic: 31,040; yacc: 4,961; lex: 659; makefile: 390; sh: 60
file content (18 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
int a[5][5][5][5][5];
a[0][0][0][0][0] = 1;
a[1][1][1][1][1] = 1;
a[2][2][2][2][2] = 1;
a[3][3][3][3][3] = 1;
a[4][4][4][4][4] = a[3][3][3][3][3];
int
z (int b[][5][5][5][5])
{
  printf ("%d\n", b[0][0][0][0][0]);
  printf ("%d\n", b[1][1][1][1][1]);
  printf ("%d\n", b[2][2][2][2][2]);
  printf ("%d\n", b[3][3][3][3][3]);
  printf ("%d\n", b[4][4][4][4][4]);
}
printf ("zaciatok");
z (a);
exit;