do u know how to create shortcut for a file using c programming.

what operating system?

windows xp sp2

This MSDN article might be helpful.

i am a begineer in c language.
so can you give me code for it?

Read the article Edward posted. There is code there. Besides, the only way to grow beyond a beginner is to learn new things. You learn new things by reading and doing. :)