really many thanks!!!Code:valgrind --tool=memcheck --leak-check=full ./prosqueeze ==13408== Memcheck, a memory error detector ==13408== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. ==13408== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info ==13408== Command: ./prosqueeze ==13408== Enter the word you want: thames You entered: thames Enter the number of letters of the alphabet you want (1-26): 4 You entered 4 Enter a letter: a Enter a letter: m Enter a letter: q Enter a letter: w The squeezed word is thes ==13408== ==13408== HEAP SUMMARY: ==13408== in use at exit: 0 bytes in 0 blocks ==13408== total heap usage: 4 allocs, 4 frees, 327 bytes allocated ==13408== ==13408== All heap blocks were freed -- no leaks are possible ==13408== ==13408== For counts of detected and suppressed errors, rerun with: -v ==13408== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)