Create ex001.c

Caution:The answer returns wrong answers. Please follow the recommended answer.