what does the symbol " -> " mean in KEIL MDK? RCC->AHBENR |= RCC_AHBENR_GPIOAEN;
also list of all syntax symbols used in KEIL MDK. I am trying to do one project in ARM Cortex M0(STM32F0 R8). please help me.
Note that the claim wasn't about structure pointers but about pointers in generals.
Anyway - I often use pointers to a single object (integer, struct, ...) if programming in C. Often "updated" to references if programming in C++ to signify that it's 100% the caller that must guarantee that the address is valid.
Irrelevant. Unless the author has accumulated statistics on how people use a pointer, he/she can only voice his/her opinion.
The way Per Westermark chooses to use uses them is also not a guide to how other programmers use them.
My comment was just that Andy's response wasn't fully matching the quoted claim.
And I have made zero attempt to quantify if pointers are mostly used with arrays or with single objects - I just noted that I often use them for other things than arrays. And that statement alone is enough to show that a claim that pointers are mostly used for arrays of structures shouldn't be seen as a general truth.
The claim was about structure pointers - if moving to pointers in general, then a very significant percent will be related to C string manipulation or similar. But that's a different debate.
And I didn't say you did.