What is volatile and pragma? When they are used?



What is volatile and pragma? When they are used?..

Answer / 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

More C++ General Interview Questions

Program to check whether a word is a sub-string or not of a string typed

0 Answers  


What are Virtual Functions? How to implement virtual functions in "C" ?

3 Answers  


How would you use the functions sin(), pow(), sqrt()?

0 Answers  


What are containers in c++?

0 Answers  


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

0 Answers  






Why c++ is called oop?

0 Answers  


What are the advantages of early binding?

0 Answers  


Why cstdlib is used in c++?

0 Answers  


What's the most powerful programming language?

0 Answers  


Differentiate between C and C++.

0 Answers   Wipro,


What is the default width for ouputting a long integer using the insertion operator?

0 Answers  


Explain how to initialize a const data member.

0 Answers  


Categories