Top "Dereference" questions

Anything related to pointer dereference, i.e. the process of determining the object which the pointer is referring to.

What does "dereferencing" a pointer mean?

Please include an example with the explanation.

c++ c pointers dereference
dereferencing pointer to incomplete type

I've seen a lot of questions on this but I'm going to ask the question differently without specific code. Is …

c struct compiler-errors typedef dereference
C programming: Dereferencing pointer to incomplete type error

I have a struct defined as: struct { char name[32]; int size; int start; int popularity; } stasher_file; and an array …

c struct dereference
Why does the arrow (->) operator in C exist?

The dot (.) operator is used to access a member of a struct, while the arrow operator (->) in C …

c pointers dereference
"Char cannot be dereferenced" error

I'm trying to use the char method isLetter(), which is supposed to return boolean value corresponding to whether the character …

java char dereference
Meaning of "referencing" and "dereferencing" in C

I read different things on the Internet and got confused, because every website says different things. I read about * referencing …

c pointers reference dereference
Dereference vector pointer to access element

If i have in C++ a pointer to a vector: vector<int>* vecPtr; And i'd like to access …

c++ vector dereference
Checking if an iterator is valid

Is there any way to check if an iterator (whether it is from a vector, a list, a deque...) is (…

c++ stl iterator dereference
How to understand the pointer star * in C?

I'm struggling with the pointer sign *, I find it very confusing in how it's used in both declarations and expressions. …

c pointers dereference
char and char* (pointer)

I would like to understand how pointers work, so i created this small program. first of all i create a …

c++ pointers char dereference type-mismatch