👩💻 Join our community of thousands of amazing developers!
Part of my confusion with the C family of languages has been how the * symbol worked in the various places it’s used in relation to pointers. A key insight helped de-mystify a lot for me: The * symbol is used as both a type declaration _and_ as an operator (the de-reference operator). Example: // * used as a type declaration int *intPointer; // declare a regular integer variable named i int i = 10; // set where intPointer points to by assigning it the address of i intPointer = &i; // * used as...