Tag Archives: Using Pointers Add Two Numbers

Using Pointers Add Numbers

Pointers in C Language: Program To Add Two Numbers Using Pointers   #include <stdio.h> int main() { int num1, num2, *ptr1, *ptr2, sum; printf(“\n\n Pointers in C : Program to Add two numbers :\n”); printf(“————————————————-\n”); printf(” Enter the first number : “); scanf(“%d”, &num1); printf(” Enter the second number : “); scanf(“%d”, &num2); ptr1 =… Read More »

Loading