6. Pointers, the idea
ستتم ترجمة هذا المقال تلقائيًا. يُعرض بالإنجليزية حاليًا.
A pointer stores a memory address. & gives the address of a variable, and * reads or changes the value at an address. Pointers are powerful and also a big source of bugs.
عرض المثال
int x = 5;
int *p = &x; // p holds the address of x