I have an incr function to increment the value by 1 I want to make it generic,because I don\'t want to make different functions for the same functi
incr
1
You should cast your pointer to concrete type before dereferencing it. So you should also add code to pass what is the type of pointer variable.