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,
5 months ago
Physics,
5 months ago
English,
5 months ago
Math,
11 months ago
English,
11 months ago
Business Studies,
1 year ago
Computer Science,
1 year ago
English,
1 year ago