Update sample.c

Pulled