write a Program to Store values of two variables through pointer .
#include<stdio.h>
#include<conio.h>
int main()
{
int a,b;
int *x,*y;
a=12;
b=2;
x=&a;
y=&b;
printf("the value of a and b is:\n");
printf("%d and %d",*x,*y);
getch();
}
int main()
{
int a,b;
int *x,*y;
a=12;
b=2;
x=&a;
y=&b;
printf("the value of a and b is:\n");
printf("%d and %d",*x,*y);
getch();
}