Professional Documents
Culture Documents
Introduction
Pointer operator
Conclusion
What is Pointer ?
Data_type *pointer_varibale
Data type must be a valid C data type and pointer_variable is the name of pointer variable. The (*) sign
is used to signify the varaiable as the pointer variable.
The pointer special operator;
• Pointers are used to form complex data structures such as linked lists, graphs, trees, etc.
• Pointers reduce the length of the program and its execution time as well.
Disadvantages of pointers:
Memory corruption
Pointer syntax can be can occur if an Requires a null
complex incorrect value is pointer references
provided to pointers
Uninitialized pointers
Slower than variables
Memory leaks in C might cause a
in C
segmentation fault
Conclusion
• https://www.learnpick.in/prime/documents/ppts/details/106/pointers-in-c
Thank you