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 Language
1.8k+ articles
C Programs
800+ articles
C Quiz
280+ articles
cpp-pointer
93 articles
C-Pointers
74 articles
Pointers
44 articles
pointer
20 articles
C-Advanced Pointer
13 articles
Advanced Pointer
13 articles
C-Pointer Basics
16 posts
Popular Articles
Recent Articles
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 ar
...read more
pointer
C++
Pointers
Advanced Pointer
C-Pointer Basics
C++ Programs
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++.
...read more
CPP-Basics
C++
Placements
Pointers
C-Pointer Basics
C/C++ Puzzles
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 w
...read more
C Basics
C Language
C++
C-Pointers
Pointers
C-Pointer Basics
Similar Topics
C++
4k+ articles
C Language
1.8k+ articles
C Programs
800+ articles
C Quiz
280+ articles
cpp-pointer
93+ articles
C-Pointers
74+ articles
Pointers
44+ articles
pointer
20+ articles
C-Advanced Pointer
13+ articles
Advanced Pointer
13+ articles
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
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
...read more
pointer
cpp-pointer
C Language
C++
C-Pointers
Pointers
C-Advanced Pointer
C-Pointer Basics
cpp-double-pointer
Picked
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 addre
...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
...read more
C Basics
C-Pointer Basics
Difference Between
C Programs
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 c
...read more
pointer
cpp-pointer
C-Pointers
Pointers
C-Advanced Pointer
Advanced Pointer
C-Pointer Basics
C Programs
cpp-double-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 integ
...read more
pointer
cpp-pointer
C Language
C++
C-Pointers
Pointers
C-Pointer Basics
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 accordin
...read more
cpp-pointer
C Language
C++
C-Pointer Basics
C | Pointer Basics | Question 17
Last Updated: 12 November 2020
[sourcecode language="C"]#include stdio.hvoid f(char**);int main(){ char *argv[] = { ab, cd, ef, gh, ij, kl }; f(argv); return 0;}v
...read more
C Quiz
C-Pointer Basics
C | Pointer Basics | Question 15
Last Updated: 28 June 2021
[sourcecode language="C"]#includestdio.hvoid swap (char *x, char *y){ char *t = x; x = y; y = t;}int main(){ char *x = geeksquiz
...read more
C Language
C Quiz
C-Pointer Basics
C | Pointer Basics | Question 17
Last Updated: 28 June 2021
[sourcecode language="C"]#includestdio.hvoid fun(int arr[]){ int i; int arr_size = sizeof(arr)/sizeof(arr[0]); for (i = 0; i arr_size; i
...read more
C Language
C Quiz
C-Pointer Basics
C | Pointer Basics | Question 8
Last Updated: 28 June 2021
[tabby title="C"][sourcecode language="c"]int main(){ char *ptr = \"GeeksQuiz\"; printf(\"%c", * return 0;}[/sourcecode][tabbyending](A)Comp
...read more
C Language
C Quiz
C-Pointer Basics
C | Pointer Basics | Question 17
Last Updated: 28 June 2021
Assume that float takes 4 bytes, predict the output of following program.[sourcecode language="C"]#include stdio.hint main(){ float arr[5
...read more
C Language
C Quiz
C-Pointer Basics
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 !