update 1_2.c and 1_4.java