declare pointer variable in c code example Example: How to use pointers in C myvar = 25; foo = &myvar; bar = myvar;