Question Bank (1 mark) · Q14
Q.Write the range of values for a keyword int.
Karnataka PUCTextbookShort· 1mImportance★★★★★est
45% · 70/154 Questions
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →[!TLDR]
A 2-byte int stores whole numbers from to .
The int keyword declares an integer variable. Its range depends on the number of bytes the compiler allots. With a 2-byte (16-bit) int, one bit is the sign and the remaining bits give a magnitude range of $2^{15} …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.