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