Write a generic List type for C.
The easiest way is to have each list item hold a voids, that points to the data. Do the same for C++ by defining a template and for Java by defining a class that holds lists of type Object. What are the strengths and weaknesses of the various languages for this job?
Write a generic List type for C.