update C error checking exercises