Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

void * and int * addition

Name: Anonymous 2013-04-21 1:29

Hey /prog/

Question for you.

How much do I actually increment up in memory when I add 1 to a void *, and how much do I increment up in memory when I add 1 to a int *?

Name: Anonymous 2013-04-21 1:44

Actually, turned out I was wrong about void*. Adding 1 to it adds 1 to the pointer itself.

Name: Anonymous 2013-04-21 2:04

>>3
I thought that was an error? I guess not.

Name: Anonymous 2013-04-21 5:23

>>3
YAINT RED DA FUCKIN STANDARD

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List