为什么指针?

编程入门 行业动态 更新时间:2024-10-24 20:17:44
本文介绍了为什么指针?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

为什么要使用指针?

Why use pointers at all??

推荐答案

onkar写道: onkar wrote: 为什么要使用指针? Why use pointers at all??

使用* p ++表示法而不是p [i ++]有助于降低可移植性 其他语言,往往是一个目标。我怀疑很多人会放弃 款式。或者,你是否宣传C不会被用于其中一个 符号有用的地方?

Use of *p++ notation rather than p[i++] helps reduce portability to other languages, which often is a goal. I doubt many would give up both styles. Or, do you campaign for C not to be used where one of these notations would be useful?

Op 21 Sep 2006 06:20 :50 -0700 schreef onkar: Op 21 Sep 2006 06:20:50 -0700 schreef onkar: 为什么要使用指针? Why use pointers at all??

为什么?你害怕他们会指向你吗? - Coos

Why? Are you afraid they will point at you? -- Coos

onkar写道: onkar wrote: 为什么要使用指针? Why use pointers at all??

因为使用数组指向事物是没有意义的吗? 提示:做5秒钟嵌入式软件工作并重新思考你的问题。 Tom

Because it doesn''t make sense to use arrays to point to things? Hint: Do 5 seconds of embedded software work and re-think your question. Tom

更多推荐

为什么指针?

本文发布于:2023-06-01 10:25:38,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/412946.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:指针

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!