Minor changes are by default collapsed in the page history.
No changes
The page does not exist yet.
Failed to load changes
Version by on
Leave Collaboration
Are you sure you want to leave the realtime collaboration and continue editing alone? The changes you save while editing alone will lead to merge conflicts with the changes auto-saved by the realtime editing session.
C Programming Memory Addressing Operators
Last modified by Microchip on 2023/11/09 09:06
Operator
Operation
Example
Result
&
Address of
&x
Pointer to x
*
Indirection
*p
The object or function that p points to
[ ]
Subscripting
x[y]
The yth element of array x
.
Struct/Union Member
x.y
The member named y in the structure or union x
->
Struct/Union Member by Reference
p->y
The member named y in the structure or union that p points to
We will cover pointers later in this tutorial. They are included here as a reference for the sake of completeness.
Menu
Microchip Support
Query Microchip Forums and get your questions answered by our community:
If you need to work with Microchip Support staff directly, you can submit a technical support case. Keep in mind that many questions can be answered through our self-help resources, so this may not be your speediest option.