C Program to Add Two Numbers Using Pointer !


Program : How to Add Two Numbers Using Pointer ?

In this program we are going to accept two numbers from user using pointer. After accepting two numbers we are going to add two numbers by using de-reference operator in Pointer.


Output :

Note :

  1. Value Filed of Pointer Can Be Accessed Using ‘*’ Operator
  2. ‘*’ is value at Operator.
  3. Read ‘*ptr’ as ‘Value at Address ptr’.