#1
June 19th, 2014, 01:53 PM
| |||
| |||
Details of Pointer in C Language
I am learning C language and for that I want to get the details of Pointer in C Language so can you provide me that as it is very urgent for me?
|
#2
June 19th, 2014, 04:08 PM
| |||
| |||
Re: Details of Pointer in C Language
As you want to get the details of Pointer in C Language so here is the information of the same for you: A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location. Like any variable or constant, you must declare a pointer before you can use it to store any variable address. The general form of a pointer variable declaration is: type *var-name; Here, type is the pointer's base type; it must be a valid C data type and var-name is the name of the pointer variable. The asterisk * you used to declare a pointer is the same asterisk that you use for multiplication. However, in this statement the asterisk is being used to designate a variable as a pointer. |
|