What is a variable declaration, what is its purpose, and what does the declaration include?
What will be an ideal response?
A variable declaration is the statement that names a variable and reserves storage for it. The declaration includes:
* The data type that the variable will store
* The variable name (its identifier)
* An optional assignment operator and assigned value when you want a variable to contain an initial value
* An ending semicolon
Computer Science & Information Technology
You might also like to view...
Which of the following is NOT a text direction option?
A) Rotate all text 270° B) Horizontal C) Rotate all text 90° D) Vertical
Computer Science & Information Technology
The chapter recommends that the smallest font size in a presentation should be ________ points
A) 24 B) 12 C) 14 D) 18
Computer Science & Information Technology