//"int" with "=" requires a value or expression to be assigned: int val = 25; //If you do not want to initially assign a value or expression, //the line can be written like this: int val;