Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
5fa4189dbecec95c7829174b9e6e2fde91af3bc1
/
.
/
examples
/
c
/
Sum_over_array.c
blob: 287a06628c511a58c7aab34e830c85645ea1dee7 [
file
] [
log
] [
blame
] [
raw
]
int
testFunction
(
int
*
input
,
int
length
)
{
int
i
,
sum
=
0
;
for
(
i
=
0
;
i
<
length
;
++
i
)
{
sum
+=
input
[
i
];
}
return
sum
;
}