0

VARIABLE DECLARATION

What exactly is variable declaration

15th Jun 2019, 1:09 PM
Chidi Anioke
3 Antworten
+ 7
Variable is something that represents some area/part of memory. When you assign value to variable, it means that memory holds some data.
15th Jun 2019, 2:49 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 3
variable declaration is, when you tell the computer "Hey, I want a variable of this datatype and maybe a value please thank you xx". You don't necessarily have to give it a value, but you have to give it a datatype. Please provide us with the programming language you want your answer in, it's easier than just guessing thank you xx
15th Jun 2019, 1:18 PM
Airree
Airree - avatar
+ 1
@ Airre I am currently working with C++
17th Jun 2019, 11:34 PM
Chidi Anioke