| 1. |
Which of the following is not a valid Integer constant of the type int ? |
|
Answer» ong>Answer: correct answer be integer constant support -32768 to 32767 32800 is not a valid integer constant of the type int. Explanation: There are 6 C constants. They are integer constants, octal-hexadecimal constants, real constants, character constants, backslash constants, STRING constants. Certain rules should be followed in constructing C constants. They are as follows,
The integer const should have at least 1 DIGIT. The value can be either negative or positive. No commas or blanks should be USED. No decimal point should be used. The allowable range is -32768 to 32767. By default, the sign of the digit will be positive.
|
|