A set of characters and/or numbers defined within a variable. Used in programming to store data, create matrices, and other.
C++ Example:
char array[11]="Hello world";
^ ^ ^ ^
| | | |
| | | contents
| | |
| | number of characters
| |
| variable name
type
When you initialize a variable, you give it its value. Used in programming. You can define and initialize a variable in one statement to help reduce code size.
C++ Example:
int num=3;
^ ^ ^
| | |
| | value
| variable name
type
The Game Dictionary™ is a trademark of GameDev.net LLC. No duplication, reproduction, or transmission of the Game Dictionary or its content is allowed without the consent of GameDev.net LLC.