Datatype

Revision as of 20:29, 11 December 2008 by Azjps (talk | contribs) (sp)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In computer programming, a datatype of a variable is a sort of flag which signifies what type the variable is. There are generally several datatypes for numbers (such as double, float, etc.) based on how large the number is, whether it's negative, and other precision measurements. Boolean variables appear in virtually all languages; they are the fundamental true/false flag.

In some low-level languages such as C, there is no string datatype to store multiple characters; one can only have arrays of single characters which cannot be combined except with special functions, or a class with operator overrides.

This article is a stub. Help us out by expanding it.