xsample1.c