Hi I had many c files in my project. Two of them are main.c and Print.c. I wrote a function delay() in Print.c. I call this function from main.c. After complete execution of delay() code didnot return to main.c. Rather it goes in middle of a function in Print.c. Any body have the solution of my this problem. Regards Farhan Arshad
"so only after ane function call the stack over flow ??????" As I said before, even if the stack doesn't overflow, there are plenty of other opportunities to mess it up! Invalid and/or uninitialised pointers are excellent for trashing memory - including the stack...!