Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
C++
4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
cpp-vector
360+ articles
CPP-Library
240+ articles
cpp-pointer
93 articles
pointer
20 articles
Advanced Pointer
13 articles
C++-References
9 articles
cpp-references
17 posts
Popular Articles
Recent Articles
Difference Between *& and **& in C++
Last Updated: 28 May 2024
In C++, the*(pointer to reference) and**(pointer to pointer reference)symbols are used in the context of pointers and references for manipul
...read more
cpp-references
cpp-pointer
C++
C++-References
C++ Programs
cpp-double-pointer
Picked
CPP Examples
misc-cpp
When Do We Pass Arguments by Reference or Pointer in C++?
Last Updated: 25 January 2024
In C++, we can pass arguments to a function as a value, reference (or pointer). Each method has its unique benefits and uses.In this article
...read more
cpp-references
cpp-pointer
CPP-Functions
C++
Picked
Geeks Premier League
Geeks Premier League 2023
lvalues references and rvalues references in C++ with Examples
Last Updated: 02 September 2021
Prerequisites: lvalue and rvalue in C++, References in C++“l-value” refers to a memory location that identifies an object. "r-value” r
...read more
Misc
cpp-references
C++
C++-References
Similar Topics
C++
4k+ articles
C++ Programs
2.5k+ articles
C Language
1.8k+ articles
STL
1.2k+ articles
cpp-vector
360+ articles
CPP-Library
240+ articles
cpp-pointer
93+ articles
pointer
20+ articles
Advanced Pointer
13+ articles
C++-References
9+ articles
Return by reference in C++ with Examples
Last Updated: 01 August 2020
Pointers and References in C++ held close relation with one another. The major difference is that the pointers can be operated on like addin
...read more
return
cpp-references
C++ Programs
Different types of range-based for loop iterators in C++
Last Updated: 16 September 2021
Range-Based 'for' loops have been included in the language since C++11. It automatically iterates (loops) over the iterable (container). Thi
...read more
cpp-references
C++
Loops & Control Structure
cpp-iterator
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 acce
...read more
pointer
cpp-references
cpp-pointer
C Language
C++
C-Pointers
Pointers
C++-References
References
C-Advanced Pointer
Advanced Pointer
C-Pointer Basics
Picked
Different ways to use Const with Reference to a Pointer in C++
Last Updated: 04 April 2020
Before moving forward with using const with Reference to a Pointers, let us first see what they are one by one: Pointers are used to stor
...read more
cpp-references
cpp-pointer
C++
C++-const keyword
Advanced Pointer
C++ Programs
Pointers and References in C++
Last Updated: 11 January 2024
In C++ pointers and references both are mechanisms used to deal with memory, memory address, and data in a program. Pointers are used to sto
...read more
cpp-references
cpp-pointer
C++
Can C++ reference member be declared without being initialized with declaration?
Last Updated: 26 April 2021
To many readers, this might sound the same thing, i.e.class_type *var = NULL;*var = some_work;is same asclass_type *var = some_work;But in a
...read more
GFacts
Technical Scripter
cpp-references
C++
Technical Scripter 2018
is_rvalue_reference Template in C++
Last Updated: 19 November 2018
The std::is_rvalue_reference template of C++ STL is used to check whether the type is a rvalue reference type or not. It returns a boolean v
...read more
STL
CPP-Library
cpp-references
C++
Passing a Vector to Constructor in C++
Last Updated: 05 April 2025
Just like any other data, we can also pass a vector to a constructor of the desired class. We can pass it by value or by reference. What we
...read more
cpp-references
cpp-vector
C++
reference_wrapper in C++
Last Updated: 03 December 2019
std::reference_wrapper is a class template that wraps a reference in a copy constructible and copy assignable object or reference to functi
...read more
CPP-Library
cpp-references
C++
Pointers vs References in C++
Last Updated: 11 October 2024
Prerequisite:Pointers, ReferencesC and C++ support pointers, which is different from most other programming languages such as Java, Python,
...read more
cpp-references
cpp-pointer
C Language
C++
School Programming
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 diff
...read more
pointer
cpp-parameter-passing
cpp-references
C++
References in C++
Last Updated: 03 March 2025
In C++, a reference works as an alias for an existing variable, providing an alternative name for it and allowing you to work with the origi
...read more
cpp-references
C++
1
2
>>
Last
1
2
>>
Last
1
2
>>
Last
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 !