
- C Programming Tutorial
- C - Home
- C - Overview
- C - Environment Setup
- C - Program Structure
- C - Basic Syntax
- C - Data Types
- C - Variables
- C - Constants
- C - Storage Classes
- C - Operators
- C - Decision Making
- C - Loops
- C - Functions
- C - Scope Rules
- C - Arrays
- C - Pointers
- C - Strings
- C - Structures
- C - Unions
- C - Bit Fields
- C - Typedef
- C - Input & Output
- C - File I/O
- C - Preprocessors
- C - Header Files
- C - Type Casting
- C - Error Handling
- C - Recursion
- C - Variable Arguments
- C - Memory Management
- C - Command Line Arguments
- C Programming useful Resources
- C - Questions & Answers
- C - Quick Guide
- C - Useful Resources
- C - Discussion
What does “dereferencing” a pointer mean in C/C++?
Dereferencing is used to access or manipulate data contained in memory location pointed to by a pointer. *(asterisk) is used with pointer variable when dereferencing the pointer variable, it refers to variable being pointed, so this is called dereferencing of pointers.
int main() { int a = 7, b ; int *p; // Un-initialized Pointer p = &a; // Stores address of a in ptr b = *p; // Put Value at ptr in b }
Here, address in p is basically address of a variable.
- Related Articles
- What do you mean by pointer to a constant in C language?
- What does the operation c=a+++b mean in C/C++?
- What does int argc, char *argv[] mean in C/C++?
- What does the explicit keyword mean in C++?
- What does the restrict keyword mean in C++?
- What does the volatile keyword mean in C++?
- What does int argc, char *argv[] mean in C++?
- What does the [Flags] Enum Attribute mean in C#?
- What is the Pointer in Python? Does a Pointer Exist in Python?
- What is the size of a pointer in C/C++?
- Double Pointer (Pointer to Pointer) in C
- What does it mean when a numeric constant in C/C++ is prefixed with a 0?
- What does 'using namespace std' mean in C++?
- What does the two question marks together (??) mean in C#?
- What is pointer operator & in C++?

Advertisements