main()
{
int x, *p, y;
clrscr();
x=10;
p=&x;
y=*p;
printf("Value of X: %d\nValue of P: %u\nValue of Y: %d",x,p,y);
printf("\nAddress of X: %u\nAddress of P: %u\nAddress of Y: %u",&x,&p,&y);
*p=20;
printf("\nNow Value of X: %d and Y: %d",x,y);
getch();
}
please show output after the program
ReplyDeleteYes... Thanks Friend Nice suggestion, i will try to put output of every program... Thanks..
ReplyDeleteOk sure..thanks for suggestion
ReplyDelete