Arduino Uno Strucks Randomly

anilkunchalaece:
No, its not working even i added those lines,for other changes I am still looking but didnt find any

You seem to be coming at the problem backwards.

My Reply #7 was aimed at getting you you to start from a version that does work and then consider carefully why the subsequent changes caused it to stop working.

Working forward from something that works is much easier than working backwards from something that is broken.

...R