write a Program to Store Address of two variables through pointer .

4/21/2013 04:53:00 pm Unknown 0 Comments


#include<stdio.h>
#include<conio.h>
int main()
{
    int a,b;
    int *x,*y;
    a=12;
    b=2;
    x=&a;
    y=&b;
    printf("memory adress is a and b is  %d and %d:",x,y);
    getch();
}