关于双指针的信息 [英] Information on Double pointers

查看:69
本文介绍了关于双指针的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我正在处理Snmp相关项目。我想深入了解指针的概念。所以,如果有人向我提供与

数据结构和指针相关的信息,我非常高兴。


谢谢和问候

agni

解决方案

Zoran Cutura写道:

嗯,这个怎么样。指针是指针,因为它指向
某些东西。




空指针是一个指向任何东西的指针。


-

pete




Le 14/06/2005 12: 59,dans 42***********@mindspring.com ,? * pete *?

< pf ***** @ mindspring.com> écrit*:

Zoran Cutura写道:

嗯,这个怎么样。指针是指针,因为它指向
某些东西。



空指针是一个指向任何东西的指针。




它指向一个非常奇怪的区域,你不应该尝试阅读;-)


BTW,在PowerPC上你可以避免通常的零 ;段,我想

然后你可以像任何其他一样访问NULL指针。只是一个安全,

不是必需品,但标准不会同意我害怕。


抱歉Pete,Null指针不是指向任何东西的pinter,但它指向某个内存位置,而软件中断可以从这里生成



Hi i am currently working on Snmp related project. I want to know deep
concepts of "pointers" so if any one provide me information related to
datastructures and pointers i am very happy.

Thanks and regards
agni

解决方案

Zoran Cutura wrote:

Well, how about this. A pointer is a pointer because it points to
something.



A null pointer is a pointer that doesn''t point to anything.

--
pete



Le 14/06/2005 12:59, dans 42***********@mindspring.com, ?*pete*?
<pf*****@mindspring.com> a écrit*:

Zoran Cutura wrote:

Well, how about this. A pointer is a pointer because it points to
something.



A null pointer is a pointer that doesn''t point to anything.



It points to a very strange zone that thou shall not try to read ;-)

BTW, on a PowerPC you can avoid the usual "zero" segment, I suppose
you can then access the NULL pointer like any other. Just a security,
not a necessity, but the Standard won''t agree I fear.


Sorry Pete,Null pointer is not a pinter that points to nothing,but it
points to some memory location from where a software interrupt can be
generated.


这篇关于关于双指针的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆