John Mavrick's Garden

Search IconIcon to open search

Last updated Unknown

Status: Tags: Links: C MOC


Pointers and References

Pointers

Syntax

& to get adress of a value * dereferencing, access value at the adress

1
2
3
4
int* px = &x; //create pointer var to adr of x

*px = 7; //value at var px is changed to 7


Backlinks


References:

Created:: 2021-09-13 14:35


Interactive Graph