Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Is 2000 a legal integer constant?
Is 2000 a legal integer constant?
Yes Integer constants are ordinary integers, including positive integers, negative integers and 0, and their data types are obviously integers. According to the query of integer constants, such as 1000, 2000, 3000, 0 and -6 are all integer constants, so 2000 is a legal integer constant. Usually refers to an immutable value, which can be expressed in decimal, octal and hexadecimal.