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

C to JavaScript

Name: Anonymous 2011-03-16 17:09

I know a good few hardcore C peeps lurk around here, is this possible?

 (*p)++

Name: Anonymous 2011-03-16 17:43

>>3
>the allocation unit

This is something that scared me about my computer architecture class. The prof showed iterating through an array int a[] by using (*a)++ as shown. What is the pointer a defined as? Multiples of 4 bytes? (For a 32-bit system, obviously.) Does that mean (char*)a would have to multiply the value by 4?

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