0
C++ pointers
'More on Pointers', slide 2, the second-last line is misleading: "All three of the preceding statements are equivalent, and return the same result." They are equivalent, but run sequentially (as written in the slide), they DON'T return the same result. The results are: 9, 13, 17. Namely each time the value in the pointer is incremented by 4.
1 ответ
0
It just means to say that any of the three statements could be use interchangeably and do the same function. They are not supposed to be executed all sequentially at the same time. Try using them one at a time.