arithmetic on void pointers

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Mar 8 12:49:48 AEST 1989


In article <13323 at steinmetz.ge.com> davidsen at crdos1.UUCP (bill davidsen) writes:
>I *think* dpANS says sizeof(void) is zero

No, it's illegal.

C as it stands now has no zero-sized objects.

There is an unofficial "extensions working group" to investigate
ways to incorporate zero-sized objects into C, but as its point
of contact I must say there has been remarkably little interest
in the subject.



More information about the Comp.lang.c mailing list