When is a cast not a cast?

phil at ux1.cso.uiuc.edu phil at ux1.cso.uiuc.edu
Wed May 24 07:29:00 AEST 1989


There is a difference between pointer addition and casted pointer addition,
however.

        q = (int *) ( (int) p + 5 );

        q = p + 5;



More information about the Comp.lang.c mailing list