Advantage of pointer
Advantage :-
Pointer are used frequently in C, as they offer a number of benefits to the programmer. They include–
1 . Pointer provide direct access to memory.
2 . Pointers provide a way to return more than one value to the functions.
3 . Reduces the execution time of the program.
4 . Provides on alternate way to access array element.
5 . Pointers allow us to perform dynamic memory allocation and reallocation.
6 . Address of objects can be extracted using pointers.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment