This post discusses how to design a stack which can deal with different data types. The discussion is based on C language
Read this post on bunksallowed.blogspot.com