What is a volatile variable in c++?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
A volatile variable indicates to the compiler that the variable can be changed at any time, preventing optimizations.
| Is This Answer Correct ? | 0 Yes | 0 No |
A volatile variable indicates to the compiler that the variable can be changed at any time, preventing optimizations.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to access a variable of the structure?
Write a program to find the reverse Fibonacci series starting from N.
Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes
program in c++ to input digits and print in words
What is class syntax c++?
How can virtual functions in c++ be implemented?
Why c++ is not a pure oop language?
class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.
When does the c++ compiler create temporary variables?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
Write about the access privileges in c++ and also mention about its default access level?
What is the benefit of c++?