#include<stdio.h> |
void
main() |
{ |
int x,y,t; |
int *p1,*p2;
//Pointer Variable |
printf("\nEnter Two Number : "); |
scanf("%d%d",&x,&y); |
p1=&x;
|
p2=&y;
|
printf("\n%d + %d = %d",*p1,*p2,*p1+*p2); |
printf("\n%d - %d = %d",*p1,*p2,*p1-*p2); |
printf("\n%d X %d = %d",*p1,*p2,(*p1)*(*p2)); |
printf("\n%d / %d = %d",*p1,*p2,(*p1)/(*p2)); |
} |