Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
0ac3d29d8d8269c4ef7e7430c64afb214a714aa1
/
.
/
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
;
}