R

Ram Sharma • 193.86K 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: 26
  • Filed under category C++

Explanation by: Ram Sharma
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.


Question analytics