Microchip Technology interview question

Write a c code to list the composite numbers.