A pointer is a variable that records the address of a memory location. The addresses of other variables or memory elements are stored in pointers. Pointers are also handy for a different sort of parameter transfer known as Pass By Address. For dynamic memory allocation, pointers are required.
The memory location is accessed using a pointer. There are several sorts of pointers, including null pointers, wild pointers, void pointers, and others. To access elements more quickly, pointers can be used with arrays and strings. We can use function pointers to dynamically activate a function.
The reason for this is that pointers are used to hack into C several important capabilities that aren't present in the original language, such as arrays, strings, and writeable function parameters. They can also be used to optimise a programme so that it runs faster or consumes less memory than it otherwise would.
A pointer is a variable whose value is the address of another variable, i.e. the memory location's direct address. A pointer, like any other variable or constant, must be declared before it may be used to store any variable address.
Pointers are used to store and maintain the addresses of memory blocks that are dynamically allocated. Data objects or arrays of objects are stored in these blocks. The heap or free store is a memory space in most structured and object-oriented languages from which objects are dynamically allocated.
Learner's Ratings
4.4
Overall Rating
70%
18%
5%
4%
3%
Reviews
M
Md Abdullah Alam
5
It is a very useful and very good platform.
S
Sharma Dishant
5
NOTES KAHA MILENGE
A
Annu Prajapat
5
It's very usefull app
D
Dhirender singh
5
the quiz are good. but as the question are not right. because any of these question are not discussed in any previous video. please provide the study material for the quiz before hand.
S
Sejal Ganesh Kadlag
5
Bestttt
S
Sahil Sonu
4
Thanks 🙏👍
A
ANIMESH SINGH
5
really
nice
I
IRFAN AHMED
5
Nice platform for C language in LEARNVERN❤️💕👍
𝑼𝑻𝑺𝑨𝑽 𝑲𝑼𝑴𝑨𝑹 𝑺𝑰𝑵𝑮𝑯
5
Best course
S
sahil namdev
5
this course is very helpfull for my basic development
Share a personalized message with your friends.