Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

The Assignment Operator

From Catglobe Wiki
Revision as of 07:06, 14 December 2011 by Cg_pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



The Assignment Operator

The assignment operator is the single equal sign, =. The assignment operator works in CGS much as in any other computer languages. It has this general form:

var = expression;

Here, var must have exactly the same type as expression.