Saturday, August 2, 2008

Pointer

POINTER :- are the variables which are used for holding address of variables or that are memory location that hold variables address
*p is pointer variables
**p is pointer to pointer variables
Use of pointer in C++
1.A pointer enables the variable used outside the function or in another sub program
2.Increases execution speed in C++ programming
3.It reduces Strength and Complexity
4.Pointers are more efficient in handling data table i.e 2 D Arrays
5.use of the pointer to the character away or code to the string saves storage space in memory
6.Pointer gives accurate results
7.we can make c++ programming easier by the use of pointer
8. pointers have direct link with structure and union by linking with structure we can increase execution speed of the programs
9.pointer saves memory space and this can be done by using dynamic memory allocation
10. pointers are very useful to handle files,data structure and manipulation.
11.pointers are used for addressing by using the hashing technique

No comments:

Post a Comment