Skip to content · ⁨コンテンツへスキップ⁩

Sum an array · ⁨配列の和⁩

Sum an array

Add the n integers that a points to. A pointer like const int *a works just like an array — a[i] is the i-th element.

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP