Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int
- sum_c(int *x, size_t len)
- {
- int sum = 0;
- int *p;
- for(p = x; p < x + len; ++p)
- {
- sum += *p;
- }
- return sum;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement