正在加载图片...
分析: ptr stepl: int *iptr, x=73 200073 3002 step2: iptr: my content iS NULL &xis2000 Iptr step3: iptr =&x 200073 20003002 step4: iptr: now, my content is 2000 ptr 73 iptr: now, my content is 73 可见,指针(iptr)是一个变量,其内容是地址,而*iptr 则是指针所指单元的内容分析: step1:int *iptr, x = 73 ; 73 ^ x iptr 2000 3002 step2: iptr: my content is NULL &x is 2000 step3:iptr = &x ; 73 2000 x iptr 2000 3002 step4: iptr: now, my content is 2000 * iptr: now, my content is 73 73 x iptr 可见,指针(iptr)是一个变量,其内容是地址,而*iptr 则是指针所指单元的内容
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有