Job Recruitment Website - Property management company - What is a pointer in C language?
What is a pointer in C language?
As we all know, arrays in C language refer to a kind of types, which are divided into int type arrays, double type arrays, char arrays and so on. Similarly, the concept of a pointer also refers to a class.
Data type, int pointer type, double pointer type, char pointer type and so on.
Usually we use int type to store some integer data, such as int num = 97, and we also use char to store characters: char ch = 'a'.
We must also know that after any program data is loaded into memory, there are their addresses in memory, that is, pointers. In order to store the address of data in memory, we need pointer variables.
So pointer is the address of program data in memory, and pointer variable is the variable used to store these addresses.
- Related articles
- Where is Jiaozuo Longtan Garden?
- How about Dazhou Binnan Environmental Sanitation Service Co., Ltd.
- The Project Value Point of China Railway North Bureau in Hainan
- When does Xining Golden Tower Fang Yi Brocade open?
- On the excellent personal evaluation of the office
- How about longkou Jiaxing machinery parts co., ltd?
- Which floor is better for the 28-story building?
- Which district does Zhuzhou Tian Xin belong to?
- How to refund the housing maintenance fund?
- Is the team building in Chongqing Tianheng supported by the state?