Google interview question

The interview was about basic C programming, binary search , binary to decimal conversion