Courses
Tutorials
Practice
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.8K+ articles
cpp-pointer
94+ articles
C Basics
77+ articles
C-Pointers
64+ articles
Pointers
33+ articles
pointer
20+ articles
C-Advanced Pointer
4+ articles
Advanced Pointer
4+ articles
C-Pointer Basics
10 posts
Recent Articles
Popular Articles
Difference between const char *p, char * const p and const char * const p
Last Updated: 11 September 2021
Prerequisite: PointersThere is a lot of confusion when char, const, *, p are all used in different permutations and meanings change according to which is placed where. Fol...
read more
Misc
C Language
C++
cpp-pointer
C-Pointer Basics
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 Language
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
Pointer Arithmetics in C with Examples
Last Updated: 24 January 2025
Pointer Arithmetic is the set of valid arithmetic operations that can be performed on pointers. The pointer variables store the memory address of another variable. It does...
read more
C Language
C-Pointers
Pointers
C-Advanced Pointer
C-Pointer Basics
Difference between NULL pointer, Null character ('\0') and '0' in C with Examples
Last Updated: 01 June 2020
NULL Pointer:The integer constant zero(0) has different meanings depending upon it's used. In all cases, it is an integer constant with the value 0, it is just described ...
read more
C Language
C Basics
C-Pointer Basics
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 Language
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 Language
C++
Picked
pointer
cpp-references
cpp-pointer
C-Pointers
Pointers
C++-References
References
C-Advanced Pointer
Advanced Pointer
C-Pointer Basics
Unusual behaviour with character pointers
Last Updated: 03 November 2020
In C++, cout shows different printing behaviour with character pointers/arrays unlike pointers/arrays of other data types. So this article will firstly explain how cout be...
read more
C Language
C++
C Basics
C-Pointers
Pointers
C-Pointer Basics
Order of execution in initializer list in C++
Last Updated: 03 November 2020
Prerequisite: Classes, Constructors, Initializer listIn this article, we will discuss the order of execution in the initializer list in C++. Generally, the order of execut...
read more
C/C++ Puzzles
Placements
C++
CPP-Basics
Pointers
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
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 !