Texas Instruments Interview Question

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