What is volatile and pragma? When they are used?

Answer Posted / rakshith

he volatile keyword is a type qualifier used to declare that an object can be modified in the program by something such as the operating system, the hardware, or a concurrently executing thread.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is objective c different from c++?

877


What is #include cmath?

734


Why do we need constructors in c++?

741


Explain about Garbage Collector?

753


What is null pointer and void pointer?

711






What do you mean by translation unit in c++?

798


Define virtual constructor.

735


What it is and how it might be called (2 methods).

748


When one must use recursion function? Mention what happens when recursion functions are declared inline?

734


How would you use the functions memcpy(), memset(), memmove()?

733


Difference between inline functions and macros?

673


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3444


What are the comments in c++?

656


What is the use of setfill in c++?

678


Do the parentheses after the type name make a difference with new?

749