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

How did c++ get its name?

0 Answers  


What do you mean by global variables?

0 Answers  


What are the stages in the development cycle?

0 Answers  


Is sorted c++?

0 Answers  


Can we generate a C++ source code from the binary file?

2 Answers  






Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers

1 Answers  


What is do..while loops structure?

0 Answers  


Explain the pure virtual functions?

0 Answers  


Which one is better- macro or function?

0 Answers   Fidelity,


Should I learn c or c++ or c#?

0 Answers  


What are the popular tools used to detect memory leaks in c++

4 Answers   TATA,


Do vectors start at 0 c++?

0 Answers  


Categories