Faraday Future Interview Question

Embedded Systems topics - Code given and provide the final output