¼Ó¤WoÓ¦ì¥Î¥ªstring°µe.g. ....¥i¯à¦üarray¦hd...
¨ä¹ê²³æd Á¿.....§Anª¾¹D¨CÓdata³£¦³¦Û¤vge address
¨Ò¦p
§Ú¦a¥Î: int x = 1234; // system´N·|assign Óaddress ¤ñÊ\..¨Ò¦p0001
then,
variable x, Ê\ge address «Y 0001, ¦ÓÊ\d data «Y 1234
§Ú¦a¥Îpointer «ü¦íx, §Y«Y
int* ptr = x;
¨ä¹êptr³£«Yvariable, ¤£¹L«Ypointer variable....
§Ú¦a¸ÜÊ\point¦í x
Ê\¨ä¹êstore¦í 0001, §Y«Y x ge address...
¦Ópointer ge ¥Î³B´N«Y¥i¥H¦Û¤v¥htraceªðÊ\storing address ge data......
cout<<ptr; // Ê\·|¥Xªðx ge address, «Y©OÓexample, «Y0001
¦Ó
cout<<*ptr; // Ê\´N¥i¥H¥X¨ì1234
¦Ü©óÊ\ge ¯u¥¿À³¥Îge¦a¤è...«Y¥X²{«Ydynamic variable ¥H¤Î other data storing structure, e.g. list, tree ge¦a¤è....¶V²`¤J´N¶Vn¥Î¨ìpointer ge concept