Synaptics interview question

Basic C & Linux