code snippet of learn c the hard way,just exersice.