期刊文献+

从内存的角度解析C语言中的指针

Analysis of the Pointer Variable in C Language from a Simple Memory Model
下载PDF
导出
摘要 指针被称为C语言的灵魂,但是其概念难以把握,成为C语言学习的主要障碍之一。以"开关"为基础,构建简易的内存模型,分析"变量概念"的两个基本特点:"地址信息"和"状态信息",进而解析"内存区域"、"变量"、"指针"之间的基本关系。从而理清"指针"概念的基本特点。 The pointer plays a cornerstone role in C language.However,its concept is difficult to master and becomes one major obstacle in learning C.One simple memory model is made from switches,and it demonstrates two basic characteristics of variables:address information and state information.From the point of memory region,the relationship between variable and pointer is analyzed.Thus,the basic characteris⁃tics of pointer in C language are clarified.
作者 张天友 ZHANG Tian-you(Department of Intelligent Manufacturing,Wuxi Vocational Colleague of Science and Technology,Wuxi 214000)
出处 《现代计算机》 2020年第33期94-99,共6页 Modern Computer
关键词 C语言 内存区域 变量 指针 C Memory Region Variable Pointer
  • 相关文献

参考文献1

共引文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部