declare pointer in c code example
Example 1: how to make pointers in c
datatype *var;
variable var actually holds the address of the data(memory where it is stored)
*var lets you access the data stored at that address
Example 2: How to use pointers in C
myvar = 25;
foo = &myvar;
bar = myvar;