when two pointer points to same array then one pointer variable can be substracted from another
Answers
Answered by
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
English,
4 months ago
Math,
4 months ago
Social Sciences,
4 months ago
Math,
9 months ago
English,
9 months ago
Business Studies,
1 year ago
Computer Science,
1 year ago
English,
1 year ago