0
what is character pointer
think
2 Answers
0
character pointer returns address of any variable in terms of character
0
Each byte of RAM has a physical address (from 00000000 to 11111111 on 8-bit systems, although a Hexadecimal representation is usually used instead). A pointer is a variable that "points" to another variable, by holding the address of that other variable. A character pointer is a pointer that points to the character. It's useful because you get to allocate chunks of RAM and use simple arithmetic (ptr + n) to access any element. This is how strings work.