A

Admin • 833.24K Points
Coach

Q. What is the size of the 'int' data type in C++?

  • (A) 2 bytes
  • (B) 4 bytes
  • (C) 8 bytes
  • (D) Depends on the compiler
  • Correct Answer - Option(B)
  • Views: 253
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

The size of an 'int' in C++ is typically 4 bytes, but it can vary depending on the compiler and system architecture.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.