Can we create a template in c.
we have this option in c++. eg: template for vector is created and vector of any data type can be used .various functions are performed on the vector.
Just need to include it in the header file.
Is there a way to define such templates in c.If so how?