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

Which of the following is evaluated first: a) && b) || c) !

0 Answers  


What are manipulators in c++ with example?

0 Answers  


What is difference between shallow copy and deep copy? Which is default?

1 Answers  


What do you mean by internal linking and external linking in c++?

1 Answers  


What is size of Empty Class?

3 Answers   Persistent,






What is static in c++?

0 Answers  


Write a recursive program to calculate factorial in c++.

0 Answers  


pls help.. paper bills.. 1000, 500, 100, 50, 20, 10, 5, 1.. create a program that will count all the paper bills in the number being input.. example: enter a number: 3886 there is/are: 3 ->1000 1 ->500 3 ->100 1 ->50 1 ->20 1 ->10 1 ->5 1 ->1 example2: enter a number: 728 there is/are: 0 ->1000 1 ->500 2 ->100 0 ->50 1 ->20 0 ->10 1 ->5 3 ->1

4 Answers  


What is the purpose of template?

0 Answers  


What are c++ files?

0 Answers  


What is the standard template library (stl)?

0 Answers  


What do nonglobal variables default to a) auto b) register c) static

0 Answers  


Categories