When volatile can be used?

Answer Posted / reejusri

One more thing i want to add in above answer that is if
compiler sees keyword volatile it skips that variable from
optimization of code, becasue since it is very dymanic in
nature and to manage such type of variable for
optimaization is costly.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is atoi?

527


Explain the static member function.

690


What does return 0 do in c++?

564


What is a multimap c++?

664


What is a container class?

606






Define a nested class.

598


What is setw manipulator in c++?

582


Explain this pointer?

570


Can I learn c++ in a week?

562


Explain the scope of resolution operator.

616


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

5877


What is const pointer and const reference?

577


Why is c++ still used?

584


What language does google use?

576


What is set in c++?

649