Pergunta de entrevista da empresa Garmin

What does this program print out? (Testing data structures) Convert each number into a binary string and count the number of 1's in the string.