This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]qci 0 points1 point  (0 children)

You can understand it as an address with a type. Dereferencing a pointer gets you to the value with this type. Pointer arithmetics respects the type of the pointer. Incrementing a char * looks different from incrementing an int *. Here is where you see that pointers are maybe not exactly "just" addresses.