Microchip Technology interview question

Code in verily a 8 to 1 multiplexer