All variables (and constants) must be declared before they can be used. This is so the compiler knows exactly how much memory to allocate to the variable, as the declaration tells the compiler exactly what the variable's type is.
Chat with our AI personalities
In C/C++ when we declare a variable; e.g int var; for this variable (i.e. var) memory is being reserved in RAM (i.e out side processor). If we declare variable like that; register int var2; for this variable memory is being reserved in register of CPU (i.e. withing processor) But register variables are discouraged because processor has to work with registers..... Note: strictly speaking, storage class 'register' means: dear compiler, you might optimize this variable into register, as I won't ever request its address. But of course, it's up to you to decide.
The variable c times the variable b simply equals cb. Just as the variable x times the variable y would equal xy, and so on.
It's what you change to do your experiment. Say your doing an experiment like my friend Kristen Maxine Rogers is doing: Does air temperature affect how long soap bubbles last, her independent variable would be the different temperatures.
yes
(c+4)/2