Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  pointers
Language: C/C++
Code:
#include <stdio.h>
 
int main()
{
   int a, b, *c, *d, sum;
 
   printf("Enter two integers to add: \n");
   scanf("%d%d", &a, &b);
 
   c = &a;
   d = &b;
 
   sum = *c + *d;
 
   printf("Sum of entered numbers = %dn",sum);
 
   return 0;
}
          
Comments: