UST interview question

Draw some circuits Coding questions based on C