add useful helloworld.c
fix a warning