Page t008, go to NEXT,
PREVIOUS, INDEX
Variable Declaration and Initialization
Consider
int i;
int j = 3;
float x = 10.0;
- variable names must start with letter or "_" and are CaSe SeNsItIvE
- initialization can occur on same line
- type declaration is mandatory
- declaration must be before first executable statement
- (declaration must be before first executable statement in compound
statement)
C Course, 15-jan-1997,
Peter Klok,
pfk@hef.kun.nl