Practice ยท 4 of 4
Parameter, Not Global
Implement int total_sum(const int* a, int n) returning the sum โ full marks only if you use NO file-scope variables (parameter in, return out).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Scope & Storage