Wednesday, January 4, 2012

How do we declare variables?

Variable names in C must be declared. The statement

int month;

declares the variable month to be of the int type (which means integer and must be typed to lowercase letters). An int type data contains no decimal point.

No comments:

Post a Comment