Discussion
A declaration "short int" is used for variables
Answer: C
Correct answer: which may require less storage than normal integers
short int requests an integer type that occupies no more storage than int, and typically less - commonly 2 bytes against 4. The standard guarantees only a minimum range and the ordering short ≤ int ≤ long, not any particular size.
The name refers to storage, not to the variable's lifetime or the length of its identifier. It is used where memory matters - in large arrays or in structures mapped onto a hardware or file format - at the cost of a narrower range.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development