Johnson Controls Interview Question

Question on c programming and image processing