added pointer.c

it is simple