Which of the following is wrong about data types?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. The range of values for signed data types is more than that of unsigned data types.
Explanation
Signed and unsigned types of the same size hold the same number of values; unsigned reaches a larger maximum (e.g. 0–255 vs −128–127). So C is wrong.More Programming Languages and Computer Graphics questions
- If a constructor 'Date' is declared explicit and has to be defined outside the class, which of the following is correct?
- Which one of the following allows the session to continue?
- Given a vector with Cartesian components (x, y), if scaling is done with the matrix [[0.5, 0], [0, 1.5]], which of the following are true?…
- Which of the following lists defined in HTML share a similar element? 1. Unordered lists 2. Ordered lists 3. Definition lists 4. Correlated…
- Match List I with List II. Choose the correct answer from the options given below:List I List II a. If the implementation of generated or d…
- In what sequence are initialisation, testing and execution of the body done in a do-while loop? I. Commenting II. Execution of the body III…