+ 2

Is really possible to use the memory address as part of the volume's formula in finding the volume instead of the values?

PointerVolume https://code.sololearn.com/c4MxL347ymVt/?ref=app

4th Sep 2018, 8:11 AM
Benjamin Shefika
Benjamin Shefika - avatar
2 ответов
+ 1
Doesn't quite understand the question, but I guess yes. The pointers are pointing to the values. So by multiplying the content of pointers, you are still multiplying the values indirectly. You can also write it this way: https://code.sololearn.com/cKbVc6H9pC4b/?ref=app
4th Sep 2018, 4:11 PM
Hanz
Hanz - avatar
+ 1
thanks a lot..
4th Sep 2018, 10:16 PM
Benjamin Shefika
Benjamin Shefika - avatar