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