Can you subtract pointers from each other? Why would you? Ans. If you have two pointers into the same array, you can subtract them. The answer is the number of elements between the two elements. Consider the street address analogy presented in the introduction of this chapter. ...
See more
Download the Study24x7 App, so you can connect and collaborate.