ok so heres the qustion if you upload the software to microcontroller,
can you possibly get the code back from the microcontroller if you lost it and if so what should i do ??
am a nooby in programing, am only shooting in the dark here but isnt it possible to get the same code back from memory ? if so what should i do ?
Well, you can download the machine code and save it to a hexfile. It can be used to program other chips of the same kind.
But I assume you wanted to get the C-code back, can't be done.
Mr. Backup is your friend.
If you should be using linux or a mac, I suggest using some sort of version control tools. I personally use GIT to keep my code in order including a full history of changes.