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