Any idea what this means? Not sure of the language.
(void *) 0x00
Any idea what this means? Not sure of the language.
(void *) 0x00
looks like C, and it means the pointer to memory location 0. ("void *" means a pointer to raw memory and is a note to the compiler/programmer that the type is unknown or unspecified)
clarification: It is a pointer containing the value 0, which on most platforms is a special value known as NULL indicating an invalid/uninitialized pointer, and dereferencing it causes an exception. On some platforms (some microcontrollers for instance) memory location 0 is a valid pointer value.
In C, it means a NULL pointer, i.e., a pointer that points to no relevant data.
Trying to access this data raises a Segmentation Fault, at least on Unix/Linux.
Weird C notation. If I had to guess I'd say this guy is trying to force a binary 0 into a pointer on some platform where NULL is not binary 0.
The cast suggests C or C++. That's an integer zero cast to a pointer type, which means it's the null pointer. It's a standard way to define the null pointer in C (except that (void *)0
is more commonly used), but in C++ it's a null pointer value of a particular type.