Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #ifndef DEBUG
- #define DEBUG(...) printf(__VA_ARGS__)
- #endif
- #define MAX_SIZE 10
- int suma_rekurzivno(int *a) {
- if (a == NULL) return 0;
- }
- int main() {
- int array[MAX_SIZE];
- int i = 0;
- for (i=0; i<MAX_SIZE; i++) {
- scanf("%d", array+i);
- }
- printf("%d", suma_rekurzivno(array));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement