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

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

  1. 1
  2. 2
  3. 3
  4. 4

Answer: B) 2

Explanation:

In C++, the short or short int takes 2 bytes (16 bits) in memory.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.