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