What is pointer? - ProProfs Discuss
Advertisement

What is pointer?

What is pointer?

Change Image    Delete

Asked by John Adney, Last updated: Nov 09, 2024

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

M. Delilah

M. Delilah

M. Delilah
M. Delilah

Answered Dec 21, 2020

A pointer is a variable that contains the memory address of another variable; every variable is a memory location that is defined by its address. It is paired with an identifier, which usually contains a value that may be changed during the program.

A pointer can be accessed directly, and also a pointer variable has its location in memory. When you use a pointer, it significantly improves the performance for a repetitive operation like traversing iterable data structure. A pointer is also used to hold the address of entry points called the “subroutine” in procedural programming and for run-time linking to dynamic link libraries.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.