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 |
What are vectors used for in c++?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
i want to know how to copy arrary without using any method or function. I have tried the below using System; class e4 { static void Main(string[] args) { int a,b; int[ ] m= new int[5]; int[ ] n= new int[5]; for(a=0;a<=4;a++) { Console.WriteLine("enter any value"); m[a]=Convert.ToInt32(Console.ReadLine()); m[a]=n[a]; } for(b=0;b<=4;b++) { Console.WriteLine(n[b]); } } } but it will give wrong result can anyone solve this problem
Write about all the implicit member functions of a class?
Are c and c++ similar?
Write the program form Armstrong no in c++?
Explain the difference between abstract class and interface in c++?
What is the meaning of string in c++?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
Which bitwise operator is used to check whether a particular bit is on or off?
Explain mutable storage class specifier.
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?