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

sizeof expertise

Name: Anonymous 2011-12-17 5:16

    int *p;
    int a[1000];


If a and p are exactly the same fucking thing (a pointer to an integer), why do sizeof p and sizeof a differ?

Name: Cudder !MhMRSATORI!FBeUS42x4uM+kgp 2011-12-17 5:30

sizeof a = 1000*(sizeof p)

This is one of the few areas where arrays and pointers differ.

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