摘要
指针是C语言最强大的特征之一,可以用来构建高效的程序。为理解指针在函数调用中的作用,需要确定内存分配。文章讨论的内存分配模型解释了如何由其它函数修改数据、如何把函数作为参数传递等问题。
Pointers are one of the most powerful features in C, whose use can build high-performance programs. To understand the role of pointers in calling functions, allocation of memory needs to be determined. The present study discusses a memory allocation model that can explain how to modify data by other functions or pass functions as parameters and other questions.
出处
《信息技术与信息化》
2016年第4期128-133,共6页
Information Technology and Informatization
关键词
指针
数组
函数指针
内存分配
pointers
arrays
function pointers
memory allocation