Q:

IS POINTER ARITHMETIC A VALID ONE? WHICH ARITHMETIC OPERATION IS NOT VALID IN POINTER? WHY?

0

IS POINTER ARITHMETIC A VALID ONE? WHICH ARITHMETIC OPERATION IS NOT VALID IN POINTER? WHY?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

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

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now