c++数据结构ppt(Chapter5).pptVIP

  • 2
  • 0
  • 约7.12千字
  • 约 33页
  • 2018-02-04 发布于河南
  • 举报
c数据结构ppt(Chapter5)

Pointer Illustration Vertical and Horizontal View of Memory Data Addresses in Memory Declaring Pointer Variables Declare a pointer by stating the type followed by the variable name, but with a * added immediately before the name. The pointer ptr is a variable whose value is the address of a data item of the designated type. Assigning Values to Pointers m is the address of the integer in memory. The assignment statement sets intPtr to point at an actual data item. The Figure illustrates the status of the two variables from the declaration statement and the resulting status after the a

文档评论(0)

1亿VIP精品文档

相关文档