Sample c code to refresh simple basics