Multiple choice technology programming languages

What is the ordinal value of 'nodefault' storage specifier of a property?

  1. 2147483647

  2. -2147483647

  3. 0

  4. 2147483648

  5. -1

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The 'nodefault' specifier has an ordinal value of 2147483648, which is $80000000 in hexadecimal (the high bit set in a 32-bit value). This specific value is used to indicate that a property has no default value assigned. The other options are mathematically related but incorrect: 2147483647 is MaxInt, -2147483647 is not special, and 0 is the default for ordinal types.