Microchip Technology Interview Question

Code in verily a 8 to 1 multiplexer