C Pointers With Examples
Pointers are special variables that are used to store addresses rather than values. Assigning addresses to Pointers : Here, the address of c is assigned to the pc pointer. To get the value stored in that address, here used *pc. Example: Output : Explanation of the program: pc = &c; This assigns the address of variable c to the pointer pc. *pc = …