in generic pointer we have to use void datatype.