Update Ex5.c