you cannot declare variable without datatype use can use auto type compiler itself assign datatype to variable respect to stored data ex auto x=10; compiler will assign int datatype
auto
auto x=10;