Q. How many byte(s) does a short type take in C?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2
Explanation: In C programming language, the short or short int takes 2 bytes (16 bits) in memory.
Explanation by: Kanak Sharma
In C programming language, the short or short int takes 2 bytes (16 bits) in memory.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
287
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
80%
Success Rate