[OT] quick C struct void question

new topic     » topic index » view thread      » older message » newer message

Just showing my ignorance. Obviously something like:

  typedef struct { 
                   void *p; 
  } P; 
is fine (it is, isn't it? getlost ). I just quickly want to know what happens if you delete the *. It it illegal? Is it treated as a byte?

Pete

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu