Pergunta de entrevista da empresa Qualcomm

Coding question: Implement a program that prints the number of times each number 0-9 appears on a array (C++)