Texas Instruments interview question

Given 3 code snippets, which is best wrt the given architeture