C Programming Code Examples C > Pointers Code Examples C Program to Add Two Numbers Using Pointer ! C Program 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. #include<stdio.h> int main() { int *pointer1, *pointer2; int number; printf("\nEnter two numbers : "); scanf("%d %d", pointer1, pointer2); number = *pointer1 + *pointer2; printf("Sum = %d", number); return (0); }