valgrind lab

  1. install valgrind
  2. check the following  code: