Pointer :
1] "A pointer is variable that holds address of another variable.
2] " * " symbol is used to declared the pointer variable".
3] Every pointer variable is associated with the variable,which is pointer by it.
4] syntax:
data_type * variable_name;
Int * ptr;
5] The above declaration shows a pointer variable ptr, which will hold the address of an "int"
No comments:
Post a Comment