Tagged: pointer operations

Operations on Pointers in C 0

Operations on Pointers in C

The only operations that can be carried out on pointers in C are summarized below: A pointer variable in C can be assigned the address of an ordinary variable (e.g., pv = &v) A pointer variable can be assigned the value of another pointer variable (e.g., pv = px) provided both the pointers point to objects of the same data type A pointer variable in C can be assigned a null (zero) value (e.g., pv = NULL, where NULL is a symbolic constant that represents the value 0) An integer quantity can be added to or subtracted from a pointer...

FREE C Cheatsheet - Speed Up Your C Programming.

FREE C Cheatsheet - Speed Up Your C Programming.

Download a 7-page free cheat sheet for easy and quick access to C Concepts, Snippets, and Syntax.

Thank you! Check you inbox and access your cheat-sheet