1. what does the compiler do when we declare the volatile variable?
2. where did the volatile variable is stored (Memory location)?
3. If i declare 400 Volatile variable then how will the compiler behave?
4. Is compiler active while executing the program(code)?
Please give answers for the above queries. thanks in advance guys....
Did google not provide any answers for your assignment?
You need to do your own homework.
The specifics of how a compiler does anything depend on the compiler. Microsoft compilers do things differently from gnu compilers, for example.
I tried to find it in google but i cannot find the proper answer for the same. can you give me any link that will help me for get the answers...
even i am trying to find it on google .. if you get it then please give the idea for the same