SoCtronics interview question

Digital electronics, aptitude, c language