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
69%
18%
5%
5%
3%
Reviews
U
Ujwal Sadafale
5
VERY USEFULL EXPERIENCE
N
Nirali K Patel
5
N
P
Prabhat Yadav
5
Superb and amazing 😍🤩 enjoyable experience.
S
sahil namdev
5
Nice teaching sence... I like this platform..
J
Jayprakash Rajput
5
Your teaching style is very very good.and simple.
B
Bidisha Manna
5
It is a very good C programming language course. Yes it is.
D
Deepak Kumar
5
best matarial in hindi medium student
W
Wali ullah
5
that are very best ara learnig skill so that are the best of best
Share a personalized message with your friends.