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%
4%
4%
Reviews
S
syed qutub ghoush
5
good, but there are still some loop holes ,
H
Harshad Futane
5
i am studying 7 th standard in semi english school of pimpri
i am founding the best free classes of programing
and i found it the name of class is *LEARNVERN*
and the class is best.
THANK YOU
A
Avinash Kumar
4
The Course is Amazing and content is also amazing bu i want the notes please provide that sir ..
I
Ishant kumar
4
best
K
Krishna dhangar
5
nice,teaching
A
Ashutosh Thakkar
5
It is as same as any college can offer or if you refer any book this as same as that. Great teaching of C language. I am really happy about this course
I
Ishant Kumar
5
i love c language
P
PATAN MASTHAN
5
sir need c notes it is very useful us to read after listening class so i request u do please provide notes......................masthimasthan786@gmail.com this is my mail
L
Lalita
5
this courses are very helpful. thank you so much.
B
Biwek Gorai
5
I like this course , thank you for your free courses, your free course many people for helpful.
Share a personalized message with your friends.