repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tccgen.c: Fix memory leak involving asm_label.
[tinycc.git]
/
tests
/
tests2
/
05_array.c
blob
c218f3163017d48c6a29d0f6a6fc68f5f65cd07f
1
#include <stdio.h>
2
3
int
main
()
4
{
5
int
Count
;
6
int
Array
[
10
];
7
8
for
(
Count
=
1
;
Count
<=
10
;
Count
++)
9
{
10
Array
[
Count
-
1
] =
Count
*
Count
;
11
}
12
13
for
(
Count
=
0
;
Count
<
10
;
Count
++)
14
{
15
printf
(
"%d
\n
"
,
Array
[
Count
]);
16
}
17
18
return
0
;
19
}
20
21
// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :