Do you know what is a function prototype and a function definition? You have not written function definition for delay(). You have just written function prototype and called the function.
THanks for those replies. i accept that i did some mistake.. but why don't you guys correct me showing a program as example..
please do edit my program and show me where i should have defined the function..
is this function definition?? func() has to wait for a second.. that is what func() assigned to do..
i have googled about this also.. i think i have to cut and paste this func() above main().. correct me if i wrong..