Tuesday, July 14, 2009

What u mean by pointers(c-prgraming)?

Pointers literally mean what they say, they point to a memory location. Say for instance you have stored a variable x in a memory location. y is a pointer to the location of x. All it says is that I point to x and x is at this location and has a certain value. Pointer programming is very useful and is extensively used for several complicated problems. Pointers have a constant size of 4 bytes and can be used to point to variables of any type: char, int, long, etc.

What u mean by pointers(c-prgraming)?
They are special variables which hold memory address of another variable


a pointer is a separate variable that refers to another location in memory


No comments:

Post a Comment