Monday, July 27, 2009

What do you know about the pointers in C++?

Please .... be serious in your answer ...

What do you know about the pointers in C++?
Pointers are variables that hold addresses in C and C++. They are also useful for passing parameters into functions in a manner that allows a function to modify and return values to the calling routine.A pointer in C++ is said to "point to" the memory address that is stored in it. Also, when defining a C++ pointer variable, we must specify the type of variable to which it is pointing
Reply:In order for you to play safe and avoid currupting memory locations by directly poking in them, pointers should be used. Pointers are references (addresses) of memory locations.
Reply:pointer is main advantage of the c


and c++ language and especially for c?


pointer are used to access the vribles indirectly by the means of the accessing the address of variables.


it also increase the speed of execution.


If u want further details of pointers I will send more content on pointers


if u want mail me


No comments:

Post a Comment