answersLogoWhite

0

Variables are names for which the value may be altered. That is, the value of a name is variable. For example:

int x; // Declares a variable named x.

int y = 0; // Declares and initialises a variable named y.

x = 5; // Changes the value of the variable named x.

y = x; // Changes the value of the variable named y.

By contrast, constants are names for which the value does not change:

const int z = 10; // Declares a constant named z, which will always have the value 10.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
ReneRene
Change my mind. I dare you.
Chat with Rene
SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
More answers

the main variable was the methodological quality of published research reports

User Avatar

Wiki User

13y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the main variable?
Write your answer...
Submit
Still have questions?
magnify glass
imp