如何学习C指针? [英] How to learn C pointers?

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

问题描述

我与指针做了很多,但仍然每当我与他们合作,我觉得有可能不工作,我希望它的方式。我的心是不知道以他们的行为方式。

I have worked with pointers a lot, but still whenever I work with them, I feel that one might not work the way I expect it to. My mind is not sure as to how they will behave.

你有什么建议?我想更好地学习指针。

What do you suggest? I want to learn pointers better.

推荐答案

最好的办法就是写程序。得到K&放你的手; R,经过基础知识,并开始编写一些程序结果。
样的问题可能是:结果
1)单链表,双向链表。结果
2)基本树的问题。结果
      - 值插入树结果。
      - 寻找高度,深度,删除树等

The best way is to write programs. Get your hands on K&R, go through the basics and start writing some programs.
Sample problems could be :
1) singly link list, doubly link list.
2) Basic tree questions.
-- insert a value into a tree.
-- find height, depth, delete a tree etc.

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

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