I need to implement some methods that do stuff with different kinds of number arrays. Usually, I\'d use generics for that job, but as C doesn\'t provide them, I\'m now tryin
You can also use function pointers (Array of function pointers), other than a switch statement, and pass the argument of the switch as the index to the array.