while converting c to hex file it is showing that target cant be created?can anybody say me what will the problem be?
Yes: the tools (compiler, linker, etc) provide messages which tell you what problem(s) they have encountered - and where.
Read those messages, and fix the problems so reported.
http://www.keil.com/support/man/docs/uv4/uv4_ca_buildproject.htm