Micron Technology interview question

Programming in C. Did not expect a complex debugging