When I compiled my C program in keil cx51 the "for loop" is not working what is the solution?
The instructions on how to post source code are very clearly displayed immediately above the box where you typed your message.
But, if even that isn't enough for you, here's a picture to make it blindingly obvious: www.danlhenry.com/.../keil_code.png