In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
What this article shares with you is about whether the group name can be used as a pointer variable. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article. Let's take a look at it.
The group name cannot be treated as a pointer variable. An array name is an address, which in a sense is equivalent to a pointer rather than a pointer variable; a pointer variable can point not only to the first address of an array, but also to others, for example, the first address of the structure, the entry address of the function.
The group name cannot be treated as a pointer variable.
Pointer variables can point not only to the first address of an array, but also to others.
For example, the first address of the structure, the entry address of the function, and so on. Or you can point to an element in the array.
An array name is an address, which in a sense is equivalent to a pointer. Not pointer variables.
Pointer variable
Int * pendant 0
P is a pointer variable.
The pointer variable can be an array name. The array name is a pointer. The range of pointer variables is large
Define a
Int * pound0X p = (int *) malloc (n*sizeof (int)); / / what you are using here is the dynamic allocation of memory that you will learn.
You can define an array of dynamic sizes
Then you can assign a value.
Like
For (iSuppli)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.