Avery Dennison interview question

basic C++ question, nothing much