A better format for a variable declaration is one where the variable is initialized or given a starting value when it is declared, such as type identifier1 = value1; , type identifier2 = value2;, or
type identifier1 = value1 , identifier2 = value2 , ... ;.
Here, value is a literal constant or an already-declared variable. Note that in the second form of variable declaration, each variable must have its own initializing value. These are often accidentally omitted. Therefore, the first form is preferred. Consider the following declarations with initialization:
#include <stdbool.h> /* So we can use: bool, true, false */
int aNumber = 10;
long aBigNumber = 3211145;
long long aReallyBigNumber = 425632238789;
float inches = 33.0;
float feet = 2.5;
float yards = 1780;
double length = 1 , width = 2 , height = 10;
bool isItRaining = false...