This is the source code from the C Programming Tutorial. In this source code, you are going to learn about Pointer in C Programming language.
What is Pointer in C Programming?
A pointer is a special variable, which stores the address of another variable in C Programming.
// * is use to declare a pointer
int* pointerOfVar = &var;
printf("value of var = %d \n", var);
// & is use to declare a Address of a variable
printf("Address of var = %x \n", &var);
printf("value of pointer variable = %x \n", pointerOfVar);
printf("value of pointer = %d \n", *pointerOfVar);