Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
C++
4.3K+ articles
C Language
1.5K+ articles
cpp-pointer
96+ articles
C-Pointers
65+ articles
Pointers
33+ articles
C-Pointer Basics
10+ articles
cpp-double-pointer
5+ articles
Advanced Pointer
4+ articles
C-Advanced Pointer
4+ articles
pointer
20 posts
Recent Articles
Popular Articles
Sum of array using pointer arithmetic
Last Updated: 21 September 2022
Given an array, write a program to find the sum of array using pointers arithmetic. In this program we make use of * operator . The * (asterisk) operator denotes the value...
read more
C++
pointer
cpp-pointer
Features and Use of Pointers in C/C++
Last Updated: 23 June 2023
Pointers store the address of variables or a memory location.Syntax:datatype *var_name; Example: pointer "ptr" holds the address of an integer variable or holds the addres...
read more
C++
pointer
cpp-pointer
C-Pointers
Pointers
C-Pointer Basics
What is a Pointer to a Null pointer
Last Updated: 16 June 2022
NULL pointer in C At the very high level, we can think of NULL as a null pointer which is used in C for various purposes. Some of the most common use cases for NULL areTo ...
read more
C Language
pointer
cpp-pointer
C-Pointers
Pointers
C-Advanced Pointer
Advanced Pointer
C-Pointer Basics
cpp-double-pointer
How many levels of pointers can we have in C/C++
Last Updated: 18 January 2022
Prerequisite: Pointer in C and C++, Double Pointer (Pointer to Pointer) in CA pointer is used to point to a memory location of a variable. A pointer stores the address of ...
read more
C++
Picked
pointer
cpp-pointer
C-Pointers
Pointers
C-Advanced Pointer
C-Pointer Basics
cpp-double-pointer
Why do we need reference variables if we have pointers
Last Updated: 01 December 2021
Pointers: A pointer is a variable that holds memory address of another variable. A pointer needs to be de referenced with * operator to access the memory location it point...
read more
C++
Picked
pointer
cpp-references
cpp-pointer
C-Pointers
Pointers
C++-References
References
C-Advanced Pointer
Advanced Pointer
C-Pointer Basics
Difference between constant pointer, pointers to constant, and constant pointers to constants
Last Updated: 17 October 2022
In this article, we will discuss the differences between constant pointer, pointers to constant constant pointers to constants. Pointers are the variables that hold the a...
read more
C++ Programs
C++
pointer
Pointers
Advanced Pointer
C-Pointer Basics
Difference between Dangling pointer and Void pointer
Last Updated: 13 July 2021
Dangling pointer: A pointer pointing to a memory location that has been deleted (or freed) is called a dangling pointer. There are three different ways where Pointer acts ...
read more
Difference Between
C Language
pointer
Pointers
Multidimensional Pointer Arithmetic in C/C++
Last Updated: 28 September 2018
In C/C++, arrays and pointers have similar semantics, except on type information.As an example, given a 3D arrayint buffer[5][7][6];An element at location [2][1][2] can be...
read more
C++
pointer
When do we pass arguments by pointer?
Last Updated: 08 January 2024
In C, the pass-by pointer method allows users to pass the address of an argument to the function instead of the actual value. This allows programmers to change the actual ...
read more
C++
pointer
C-Pointers
Are Array Members Deeply Copied?
Last Updated: 16 April 2025
In C++, we can assign a struct (or class) variable to another variable of same type. All members of one variable are copied to the other variable. But what happens when th...
read more
C Language
pointer
C Array and String
Const Qualifier in C
Last Updated: 17 December 2024
The qualifier const can be applied to the declaration of any variable to specify that its value will not be changed (which depends upon where const variables are stored, w...
read more
C Language
pointer
C-Storage Classes and Type Qualifiers
Complicated declarations in C
Last Updated: 22 August 2022
Most of the times declarations are simple to read, but it is hard to read some declarations which involve pointer to functions. For example, consider the following declara...
read more
C Language
pointer
C-Variable Declaration and Scope
Passing By Pointer vs Passing By Reference in C++
Last Updated: 11 January 2025
In C++, we can pass parameters to a function either by pointers or by reference. In both cases, we get the same result. So, what is the difference between Passing by Point...
read more
C++
pointer
cpp-parameter-passing
cpp-references
NULL Pointer in C++
Last Updated: 17 April 2024
A NULL Pointer in C++ indicates the absence of a valid memory address in C++. It tells that the pointer is not pointing to any valid memory location In other words, it has...
read more
C++
Picked
Geeks Premier League
pointer
cpp-pointer
Geeks Premier League 2023
Application of Pointer in C++
Last Updated: 21 May 2025
In C++, pointer is a variable that stores the memory address as its value. It is a powerful feature that forms the backbone of lower-level memory manipulation in C++. It i...
read more
C++
Picked
Geeks Premier League
pointer
cpp-pointer
Geeks Premier League 2023
1
2
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !