
Originally Posted by
Koreans
They're the same. Like Toxic said.
And array[2] isnt pointed to. It points to array[0]
im going to bed goodnight
int array[5] = {16, 15, 14, 13, 12 };
assigns the values to an address
as seen here
1232 ------- 1233 ---------- 1234 --------- 1235 --------- 1236 (addresses)
16 ---------- 15 ------------- 14 ------------ 13 ------------- 12 (values)
array[4] would point to the value of 1236, which is array[4]
I'm done here, because nobody understands my question...
I am going to ask both my questions which I need answered here. do NOT reply unless you are going to answer one, if not both. If you have to say anything else do NOT reply.
1. Does array[4] hold a value, or does it point to an address?
2. Does array[4] = 4444 change the value of the address pointed by array[4](1236) or does it directly change the value of array[4]? (they are pretty much the same thing but I need to know which one it does.)
again.
DO NOT REPLY UNLESS YOU ARE GOING TO ANSWER MY DAMN QUESTION.