void main()
{
int i=3;
int *j;
j=&i;
clrscr();
printf("Address of i= %u\n",&i);
printf("Address of j =%u\n",&j);
printf("Address of i= %u\n",&i);
printf("value of i= %d\n",i);
printf("value of j= %d\n",*j);
printf("value of i= %d\n",*(&i));
printf("value of i= %d\n",i);
getch();
}
No comments:
Post a Comment