These programs are almighty list and heap by C programming language.