Pointers in C language is a variable that stores/points the address of another variable. A pointer is an address.It is a derived data type which stotes the memory allocation. Pointer allocates memory
dunamically.
Pointer can be incremente/decremend to pint to the nex/previous memory address.Normal variable stores the value whereas pointer variable stores the address of the variable.The value of null pointer is 0.[&] symbol is used to get the address of the variable.[*] symbol is used to get the value of the variable that the pointer is pointing to.The size of any pointer is 2 byte
Syntax Of Pointer:
data_type *var_name;
Example:
int *p;
char *p;
EmoticonEmoticon