| |||
| Home > Language Extensions > GNU language extensions > Pointer arithmetic | |||
You can perform arithmetic on void pointers
and function pointers.
The size of a void type or a function type
is defined to be 1.
The compiler generates a warning if it detects arithmetic on void pointers or function pointers.