Four battery packs need one capacity total. Start your pointer at the first element, read it, and advance to the next. On the last pass, advancing produces a one-past-end pointer, which is allowed, but never dereference it. The loop needs exactly four reads.
Edit main.c before the supplied print. Run to inspect the total, then Submit. Never add an extra read merely to see what lies after the array.
packs into total by reading through an initialized pointer and advancing it after each read. The supplied print should produce Capacity: 18 and a newline.Start int *cursor = packs; add *cursor, then increment cursor after each valid access.