Search code examples
cpointersstructstandards

Is there a standard pointer size declaration?


I have struct with padding in char (oops, my bad). I would like to subtract a pointer size. Do you know a standard pointer size declaration, or a standard macro for that?


Solution

  • sizeof (void *)