[OT] quick C struct void question
- Posted by petelomax Aug 29, 2015
- 1417 views
Just showing my ignorance. Obviously something like:
typedef struct { void *p; } P;is fine (it is, isn't it? ). I just quickly want to know what happens if you delete the *. It it illegal? Is it treated as a byte?
Pete