Arithmetic operations on pointers are restricted for


Arithmetic operations on pointers are restricted. For example, pointer values (memory addresses) cannot be added, subtracted, multiplied, or divided. However, we can increment a pointer with ++, decrement it with --, add an integer value; to it, or subtract; from it. These operations change the address in the pointer by adding/subtracting 5; zoo(Type) for the first two operations and; * 5; zero(Type) for the last two, where Type is the type to which the pointer is bound.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Arithmetic operations on pointers are restricted for
Reference No:- TGS02583837

Now Priced at $10 (50% Discount)

Recommended (95%)

Rated (4.7/5)