0

What is the data type of a pointer

24th Dec 2016, 8:28 AM
Michael Dogbey
Michael Dogbey - avatar
2 Respuestas
+ 3
The datatype of a pointer is a void*
24th Dec 2016, 8:59 AM
Wen Qin
Wen Qin - avatar
0
actually you define the pointer type like: int* p or void* v void is like a placeholder. the type of pointer especially matters if you do pointer arithmetic (like p++) as far as I know this is not possible with void pointer
24th Dec 2016, 9:43 AM
Gunther Strauss
Gunther Strauss - avatar