In the code I am writing I need foo(int, char*) and foo(int, int) functions.

If I was coding this in C++ I would use templates. Is there any equivalent for C? Or should I use void pointers? How?

c
Edit
Report