Avery Dennison Interview Question

basic C++ question, nothing much