void variable1;
is not valid. Why? Because it would have no meaning. You can't have a variable of no type.
void *ptr1;
is valid though. The variable has the type "memory address without any information as to what might be at that address."
void variable1;
is not valid. Why? Because it would have no meaning. You can't have a variable of no type.
void *ptr1;
is valid though. The variable has the type "memory address without any information as to what might be at that address."
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law