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
DSA
21.3K+ articles
C++
4.3K+ articles
Difference Between
3.5K+ articles
C++ Programs
2.1K+ articles
C Language
1.5K+ articles
Arrays
257+ articles
cpp-pointer
96+ articles
C-Pointers
65+ articles
C-Pointer Basics
10+ articles
Pointers
33 posts
Recent Articles
Popular Articles
Architecture of 8085 microprocessor
Last Updated: 24 March 2025
A microprocessor is fabricated on a single integrated circuit (IC) or chip that is used as a central processing unit (CPU).The 8085 microprocessor is an 8-bit microprocess...
read more
Computer Organization & Architecture
Intellipaat
permutation
Pointers
Functions
QA - Placement Quizzes-Data Interpretation
python-dict
microprocessor
CSS-Functions
Java-SecureRandom
TCS-coding-questions
R Graphics-Functions
Python numpy-Random
Difference between passing pointer to pointer and address of pointer to any function
Last Updated: 01 November 2022
In this article, the differences between passing “pointer to pointer” and “address of pointer” to a function. In C or C++ Programming Language, it is known that pointers h...
read more
C Programs
C++ Programs
Difference Between
C++
CPP-Basics
memory-management
Pointers
Base Class Pointer Pointing to Derived Class Object in C++
Last Updated: 20 March 2023
Prerequisite: Pointers in C++A pointer is a data type that stores the address of other data types. Pointers can be used for base objects as well as objects of derived clas...
read more
Technical Scripter
C++ Programs
C++
Pointers
C++-Class and Object
Creating array of pointers in C++
Last Updated: 23 June 2022
An array of pointers is an array of pointer variables. It is also known as pointer arrays. We will discuss how to create a 1D and 2D array of pointers dynamically. The wor...
read more
C++ Programs
Articles
C++
cpp-pointer
CPP-Basics
Pointers
Find quadruplets with given sum in a Doubly Linked List
Last Updated: 30 November 2021
Given a sorted doubly linked list and an integer X, the task is to print all the quadruplets in the doubly linked list whose sum is X.Examples:Input: LL: -3 ? 1 ? 2 ? 3 ? ...
read more
Linked List
Data Structures
DSA
Pointers
doubly linked list
Returning a function pointer from a function in C/C++
Last Updated: 11 March 2023
In C/ C++, like normal data pointers(int *, char *, etc), there can be pointers to functions. Every function created in a program gets an address in memory since pointers ...
read more
C++
CPP-Functions
Pointers
C-Functions
Find triplet sum closest to X in a sorted Doubly Linked List (DLL)
Last Updated: 09 March 2022
Given a sorted doubly linked list of N nodes and an integer X, the task is to find the sum of three nodes in the list which is closest to X.Examples:Input: DLL: -8 ? 2 ? 3...
read more
Linked List
Sorting
DSA
Pointers
How to return local variables from a function in C++
Last Updated: 05 June 2023
In C++, returning a local variable from a function may result in an error due to the deallocation of variable memory after some value is returned from the function. But th...
read more
C++
Pointers
Arrays
Functions
Lambda Expressions vs Function Pointers
Last Updated: 01 October 2021
Function Pointer: A function pointer, or a subroutine pointer, or a procedure pointer, is a pointer that points to a function. In simple words, it is a pointer to the loca...
read more
Competitive Programming
C++ Programs
CS – Placements
C++
DSA
Pointers
Functions
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
Data type of a Pointer in C++
Last Updated: 05 January 2022
A pointer is a variable that stores the memory address of an object. The pointer then simply “points” to the object. The type of the object must correspond with the type o...
read more
C++
Pointers
Right rotate given Array K times using Pointers
Last Updated: 19 January 2022
Given an array arr[] of size N and an integer K, the task is to right rotate the array K times.Examples:Input: arr[] = {1, 3, 5, 7, 9}, K = 2Output: 7 9 1 3 5Explanation: ...
read more
Misc
DSA
Arrays
rotation
Pointers
Derived Data Types in C
Last Updated: 06 September 2023
Data types in the C language can be categorized into three types, namely primitive, user-defined, and derived data types. In this article, we shall learn about derived dat...
read more
C Language
c-array
C Basics
C-Pointers
Pointers
Arrays
C-Functions
Functions
References
void Pointer in C++
Last Updated: 17 January 2024
In C++, a void pointer is a pointer that is declared using the 'void' keyword (void*). It is different from regular pointers it is used to point to data of no specified da...
read more
C++
Picked
Geeks Premier League
cpp-pointer
Pointers
Geeks Premier League 2023
How to Declare a Pointer to a Union in C?
Last Updated: 14 February 2024
Union is a user-defined data type in C language that can contain elements of the different data types and pointers are used to store memory addresses. In this article, we ...
read more
C Programs
C Language
Picked
C-Pointers
Pointers
C Examples
1
2
3
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 !