Join Regular Classroom : Visit ClassroomTech

Month: March 2021

Addition and Subtraction of a Pointer (Pointer Arithmetics) in C

A pointer is an address, means it is a numerical value. Hence, arithmetic operation can be done on a pointer. There are four operations that can be done on a pointer. Those are: 1. Increment (++) and Decrement (–)2. Addition of any integer to pointer (+)3. Subtraction of any integer from pointer (-)4. Subtracting two …

Addition and Subtraction of a Pointer (Pointer Arithmetics) in C Read More »