New course! Every coder should learn Generative AI!
Try a free lesson+ 12
In the literal sense, a pointer which can point to any datatype. In C/C++, for example, a pointer of type void* can be used to store addresses of varying types, which can then be casted and used.
int n = 39;
void* ptr = &n;
std::cout << *((int*)ptr);