Statement: the opinion in this article only represents an individual. text and images in this article may not be reproduced in part or in whole without your permission. The consequences of the violation will be borne by you! Contact me: 80368704@qq.com QQ: 80368704 The pointer is here to end. However, the content I mentioned is actually the first two sections in Chapter 10th of Mr. Tan's teaching material. What is interesting is that, there are so many pointer concepts that you should feel that there is almost no difficulty; So what exactly is the depth of the pointer?Pointer Application! The pointer is very simple, it is the address. However, when the pointer is applied to the program design, for example, there are three applications: 1. It is used to implement bidirectional transmission of function parameters ). 2. It is used for efficient operation of the array submark. 3. Implement the dynamic data structure of the program (such as the linked list ).
At this time, I have tested you. Do you have a solid understanding of the concepts of arrays and functions? The concepts of arrays and functions can be thoroughly understood only in practice. In this way, I will ask, have you ever written too many function programs? For example, a program contains 10 or more functions. In the programs you write, do you use a one-and two-dimensional array to implement more complex algorithms? Only by deeply understanding the concepts of arrays and functions can you understand the application of pointers. In other words, a deep understanding of arrays and functions is crucial to understanding the application of pointers. Brother, if you are not familiar with arrays and functions, do not touch the pointer application. It is impossible to understand. You can have a deep understanding of the concept of if arrays and functions. Please always prepare for the next section of then;
|