Вы объявили их, но не инициализированы.
int a; // declaration, unknown value a = 0; // initialization int a = 0; // declaration with initialization