Sunday, February 20, 2011

programe using pointer | c | pointer concepts

void main ( )
{
int d = enter the integer number;
printf("value of a = %d\n",d);
printf("address of a = %u\n",&d);
printf("value at address %u = %d\n",&d,*(&d));
getch();
}

No comments:

Post a Comment