Micron Technology Interview Question

about gates basic concepts of c and java