c programming pointer code example
Example 1: poiner in c
int c, *pc;
// pc is address but c is not
pc = c; // Error
// &c is address but *pc is not
*pc = &c; // Error
// both &c and pc are addresses
pc = &c;
// both c and *pc values
*pc = c;
Example 2: How to use pointers in C
myvar = 25;
foo = &myvar;
bar = myvar;