how to write option byte in compile time.
Like when i compiling my code,at that time of compiling, i have to write values in option byte or set read out protection.
In C the answer is simple: you don't. You'll have to do that in the tool chain that compiles the code, and then transfers it to the µC. Setting option bytes clearly is a task for the second part, the transfer.
Note that in Forth the compiler runs on the µC. There the answer would be different. Running a compiler on the target opens the door to very interesting solutions for adaptive systems.
Retrieving data ...