Data Types (Introduction)
A variable is declared so that the compiler knows that it can be used, what kinds of values can be stored in it, and (implicitly) what operations are allowed to use the value.
Program P (input, output)var C: char; I: integer; X: real;begin C := ‘?’; I := 15 + 20; X := 3.0;