GNU Free Documentation License . .

( )

: ,

(, . pointer,   . , .

. -, , . -, : , , .

, , . , .

[]

, , , , : . . , . , .

:

int n = 6,                    /*   n  int     6 */
    *pn = malloc(sizeof int); /*   pn     . */
*pn = 5;                      /*      5. */
n = *pn;                      /*  n   (5),    pn. */
free(pn);                     /*   . */
pn = &n;                      /*   .   */
                              /* pn   n.      n. */
n = 7;                        /* *pn    7 */

, - , , .

, , . . ( malloc free , new delete C++  . .).

[]

, , , , - ( ) . .

[] .

[]

  1. A name for the null pointer: nullptr  (.). JTC1.22.32. JTC1/SC22/WG21 The C++ Standards Committee (2 October 2007). 11 2012. 4 2010.