Pointer arithmetic is not valid one. Pointer addition, multiplication and division are not allowed as these are not making any sense in pointer arithmetic.
But, two pointers can be subtracted to know how many elements are available between these two pointers.
Pointer arithmetic is not valid one. Pointer addition, multiplication and division are not allowed as these are not making any sense in pointer arithmetic.
But, two pointers can be subtracted to know how many elements are available between these two pointers.
need an explanation for this answer? contact us directly to get an explanation for this answer