Computer Science, asked by Anonymous, 9 months ago

when two pointer points to same array then one pointer variable can be substracted from another​

Answers

Answered by Anonymous
2

Explanation:

Two pointers can also be subtracted from each other if the following conditions are satisfied: Both pointers will point to elements of same array; or one past the last element of same array. The result of the subtraction must be representable in ptrdiff_t data type, which is defined in stddef.

Similar questions