摘要
指针是C语言程序设计的重要数据类型,亦是C语言的精华部分。但是,由于指针概念复杂,使用灵活,在实际的教学过程中学生常常感到难以理解。文章拟从指针的基本概念入手,分析函数指针、指针函数、数组指针及指针数组的区别与联系,通过类比分析方法阐明该部分内容,以期能够帮助学生深入理解指针原理及其应用。
Pointer is an important data type of C language programming and is also the essence. College students often feel difficult to understand pointer in the actual teaching process, because of complex concept and flexible use of pointer. Distinction and connection among pointer array and array pointer, function pointer and pointer function will be studied based on basic concepts of pointer, they will be clarified by analogy analysis method, in order to help students understand the principle and application of pointer.
出处
《大众科技》
2015年第7期136-138,共3页
Popular Science & Technology
关键词
C语言
指针数组
数组指针
函数指针
指针函数
C language
pointer array
array pointer
function pointer
pointer function