Read second byte into a char say an array of 2 elements x[0] and 3rd byte into char x[1].

Convert them to int and then combine both the bytes using atoi function