hi

well if we trace the code then
a = 1+5 =6;
b = 2*4 = 8;
c = 3 + 48 =51;
c = 51%6 = 3 (since dividing 51 by 6 gives remainder 3)