Pointer variables, based variables, overlaid variables—do you know all the variable types and the right ways to use them?
Written by Ted Holt
Editor's Note: This article is an excerpt from the MC Press book Complete CL.
Variables are program data that are allowed to change values. They have names and are stored in memory for the duration of the program. Variables are of different types: character, decimal, signed integer, unsigned integer, logical, and pointer.