Skip to content
geeksforgeeks
  • 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
Similar Topics
DSA
22.4k+ articles
C++
4.1k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
cpp-array
160+ articles
C-Pointers
74 articles
Pointers
44 articles
pointer
20 articles

cpp-pointer

93 posts
How to declare a 2D array dynamically in C++ using new operator
Last Updated: 14 September 2022
Prerequisite: Array BasicsIn C/C++, multidimensional arrays in simple words as an array of arrays. Data in multidimensional arrays are store ...read more
Arrays
Technical Scripter
cpp-pointer
C++
Pointers
C++-new and delete
Technical Scripter 2020
DSA
Pointer to an Array | Array Pointer
Last Updated: 30 April 2025
A pointer to an array is a pointer that points to the whole array instead of the first element of the array. It considers the whole array as...read more
image
cpp-pointer
C Language
C++
C-Pointers
C++ Pointers
Last Updated: 18 March 2025
A pointer is a variable that stores the address of another variable. Pointers can be used with any data type, including basic types (e.g., i...read more
image
cpp-pointer
C++
Similar Topics
DSA
22.4k+ articles
C++
4.1k+ articles
C++ Programs
2.4k+ articles
C Language
1.9k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
cpp-array
160+ articles
C-Pointers
74+ articles
Pointers
44+ articles
pointer
20+ articles
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
new and delete Operators in C++ For Dynamic Memory
Last Updated: 04 April 2025
In C++, when a variable is declared, the compiler automatically reserves memory for it based on its data type. This memory is allocated in t ...read more
cpp-pointer
C++
School Programming
auto_ptr vs unique_ptr vs shared_ptr vs weak_ptr in C++
Last Updated: 05 March 2023
Prerequisite – Smart PointersSmart Pointer is a pointer-wrapping stack-allocated object. Smart pointers, in plain terms, are classes that ...read more
image
cpp-pointer
C++
Functors in C++
Last Updated: 27 January 2023
Please note that the title is Functors (Not Functions)!!Consider a function that takes only one argument. However, while calling this functi ...read more
STL
cpp-pointer
CPP-Functions
C Language
C++
Pass Array to Functions in C
Last Updated: 07 March 2025
Passing an array to a function allows the function to directly access and modify the original array. In this article, we will learn how to p ...read more
cpp-array
cpp-pointer
CPP-Functions
C Language
C++
school-programming
CBSE - Class 11
Function Pointer in C
Last Updated: 01 May 2025
In C, a function pointer is a type of pointer that stores the address of a function, allowing functions to be passed as arguments and invoke ...read more
cpp-pointer
CPP-Functions
C Language
C-Pointers
void Pointer in C
Last Updated: 11 October 2024
A void pointer is a pointer that has no associated data type with it. A void pointer can hold an address of any type and can be typecasted t ...read more
C Basics
cpp-pointer
C Language
C-Pointers
Smart Pointers in C++
Last Updated: 24 April 2025
In C++, pointers are the variables that stores the memory addresses. They are extensively used in dynamic memory location to store the addre...read more
image
cpp-pointer
C++
How to pass a 2D array as a parameter in C?
Last Updated: 04 March 2025
A 2D array is essentially an array of arrays, where each element of the main array holds another array. In this article, we will see how to ...read more
cpp-parameter-passing
cpp-array
cpp-pointer
C Language
C Array and String
How to dynamically allocate a 2D array in C?
Last Updated: 10 January 2025
Following are different ways to create a 2D array on the heap (or dynamically allocate a 2D array).In the following examples, we have consid ...read more
cpp-array
cpp-pointer
C Language
C Array and String
'this' pointer in C++
Last Updated: 11 January 2025
In C++, 'this' pointers is a pointer to the current instance of a class. It is used to refer to the object within its own member functions. ...read more
C Basics
cpp-pointer
C Language
C++
School Programming
delete and free() in C++
Last Updated: 20 January 2025
delete and free() in C++ have similar functionalities but they are different. In C++, the delete operator should only be used for deallocati ...read more
cpp-pointer
C Language
C++
1 2 3 4 5 6 7 >>
Last
1 2 3 4 5 6 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
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
Lightbox