How can I change addresses of arrays with pointers ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I change addresses of arrays with pointers ?

For example, we have an array in heap. And we will reverse array. But we have to reverse addresses too. Like this; array [0]=0xbc1510 // address of array array [1]=0xbc1514 array [2]=0xbc1518 //After Reversing array [0]=0xbc1518 array [1]=0xbc1514 array [2]=0xbc1510

16th Oct 2017, 9:57 AM
Emirhan Kural
Emirhan Kural - avatar
1 Answer
0
please, help me !
16th Oct 2017, 12:22 PM
Emirhan Kural
Emirhan Kural - avatar