A void pointer or generic pointer is a special pointer that can point to objects of any datatype. It is declared just like a normal pointer by using void keyword at the time of declaration. void *p;
Say Bye to Bugs
A void pointer or generic pointer is a special pointer that can point to objects of any datatype. It is declared just like a normal pointer by using void keyword at the time of declaration. void *p;