==22868== Memcheck, a memory error detector ==22868== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==22868== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==22868== Command: ./test03 ==22868== TEST03: C version A sample code for analysis by VALGRIND. 0! = 1 1! = 1 2! = 2 3! = 6 4! = 24 5! = 120 6! = 720 7! = 5040 8! = 40320 9! = 362880 TEST03 Normal end of execution. ==22868== ==22868== HEAP SUMMARY: ==22868== in use at exit: 40 bytes in 1 blocks ==22868== total heap usage: 2 allocs, 1 frees, 4,136 bytes allocated ==22868== ==22868== LEAK SUMMARY: ==22868== definitely lost: 40 bytes in 1 blocks ==22868== indirectly lost: 0 bytes in 0 blocks ==22868== possibly lost: 0 bytes in 0 blocks ==22868== still reachable: 0 bytes in 0 blocks ==22868== suppressed: 0 bytes in 0 blocks ==22868== Rerun with --leak-check=full to see details of leaked memory ==22868== ==22868== For counts of detected and suppressed errors, rerun with: -v ==22868== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)